cleanup
authorMike Frysinger <vapier@gentoo.org>
Tue, 5 Dec 2006 06:17:41 +0000 (06:17 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 5 Dec 2006 06:17:41 +0000 (06:17 +0000)
Package-Manager: portage-2.1.2_rc2-r4

sys-fs/dmraid/Manifest
sys-fs/dmraid/dmraid-1.0.0_rc13.ebuild

index ee7fef23832fdf054ef7c83afb3aa1524a9a0871..434cf4c601c481addfd5bd2a4f388785d817fbaa 100644 (file)
@@ -1,12 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 AUX dmraid-destdir-fix.patch 902 RMD160 8641454fcab27ff5f122e50cc1cdc4559e484692 SHA1 8dac0fd6d374cbdd490f101817677ac66dfc87ce SHA256 4a275211bd2036ceec2181e1ac1bc4d14d522cb254c81e596af6e1481db1d667
 MD5 83d706f175f30caa00bab6bd00f14d30 files/dmraid-destdir-fix.patch 902
 RMD160 8641454fcab27ff5f122e50cc1cdc4559e484692 files/dmraid-destdir-fix.patch 902
 SHA256 4a275211bd2036ceec2181e1ac1bc4d14d522cb254c81e596af6e1481db1d667 files/dmraid-destdir-fix.patch 902
 DIST dmraid-1.0.0.rc13.tar.bz2 170497 RMD160 9b95d68c2177c3bb7c74227c375780d3b4936ef7 SHA1 11c8e352849f7d00157169c672ff59a61b1bc111 SHA256 8497196528d50203053de0f733917b1d85aae416d2136c695a07aee5632b12b9
-EBUILD dmraid-1.0.0_rc13.ebuild 2360 RMD160 c0c5d1f89f8d8129ceac31eadb78f41c9f46cb84 SHA1 24fb0f81b4d2fc2149bde7f3796ea34410b5efde SHA256 24e26ec1d2d4b6052a8fe94325a5fd18760e4794d637aa2c0a465e0d899064d2
-MD5 543d440b5a0a45ba6b0b8e298bc1e091 dmraid-1.0.0_rc13.ebuild 2360
-RMD160 c0c5d1f89f8d8129ceac31eadb78f41c9f46cb84 dmraid-1.0.0_rc13.ebuild 2360
-SHA256 24e26ec1d2d4b6052a8fe94325a5fd18760e4794d637aa2c0a465e0d899064d2 dmraid-1.0.0_rc13.ebuild 2360
+EBUILD dmraid-1.0.0_rc13.ebuild 2283 RMD160 825f70f851d2899ab0d0214686b625dd71c35fb0 SHA1 11d1a12ccd680cfccfbe0bcac8d34c5d90518f2f SHA256 75d455d60feeec25f95f1f44d9b7969d884f12b804c22568d0470632d1340cf1
+MD5 fb14f49951e998c5d373179cc8b9d3bb dmraid-1.0.0_rc13.ebuild 2283
+RMD160 825f70f851d2899ab0d0214686b625dd71c35fb0 dmraid-1.0.0_rc13.ebuild 2283
+SHA256 75d455d60feeec25f95f1f44d9b7969d884f12b804c22568d0470632d1340cf1 dmraid-1.0.0_rc13.ebuild 2283
 MISC ChangeLog 1905 RMD160 4a60bbf1637ee3c5bd9b7faf4fccbdaeb0b17ab8 SHA1 44b91c9ebd91f0c056741829e478ea8a9af716f0 SHA256 4e3ab673ec618c7f404d4b71b1cb7ee74f3b8b8ae9fbf71565d5a9b123ace45b
 MD5 1888faa713df5f94327c40fd6eb1d1e4 ChangeLog 1905
 RMD160 4a60bbf1637ee3c5bd9b7faf4fccbdaeb0b17ab8 ChangeLog 1905
@@ -18,3 +21,10 @@ SHA256 343052d885489f4da699adac430181ad987253ded0e75c2dee1f5fb3310b15a4 metadata
 MD5 403d163ff4bc0244cfdbdf3de03c4029 files/digest-dmraid-1.0.0_rc13 256
 RMD160 6231c01c1018431bb98aa8422c5d46d2053ef25a files/digest-dmraid-1.0.0_rc13 256
 SHA256 76a5bf94b0c1c695c5a1c72ac067803e33a08569dcdedf49b70b9ef2e40aaf49 files/digest-dmraid-1.0.0_rc13 256
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFdQ8YamhnQswr0vIRAh/4AJsEsBMOynreupt/V3Updt3tjAAOiQCeKJ/m
+aJVJyzGCZlSyVECc3WoEmdo=
+=U3Pm
+-----END PGP SIGNATURE-----
index fd397842f5d4f3e6721eca689a8d00f7563f66b5..6008d1451d4cff621a7c619c6da570e9d8d1379d 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/dmraid/dmraid-1.0.0_rc13.ebuild,v 1.1 2006/11/02 16:13:41 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/dmraid/dmraid-1.0.0_rc13.ebuild,v 1.2 2006/12/05 06:17:41 vapier Exp $
 
 inherit linux-info flag-o-matic
 
@@ -22,12 +22,12 @@ DEPEND="sys-fs/device-mapper
 S=${WORKDIR}/${PN}/${MY_PV}
 
 pkg_setup() {
-       if kernel_is lt 2 6; then
+       if kernel_is lt 2 6 ; then
                ewarn "You are using a kernel < 2.6"
                ewarn "DMraid uses recently introduced Device-Mapper features."
                ewarn "These might be unavailable in the kernel you are running now."
        fi
-       if use static && use selinux; then
+       if use static && use selinux ; then
                eerror "ERROR - cannot compile static with libselinux / libsepol"
                die "USE flag conflicts."
        fi
@@ -35,29 +35,27 @@ pkg_setup() {
 
 src_unpack() {
        unpack ${A}
-       cd ${S}
-       epatch ${FILESDIR}/dmraid-destdir-fix.patch
+       cd "${S}"
+       epatch "${FILESDIR}"/dmraid-destdir-fix.patch
 }
 
 src_compile() {
-       #inlining doesnt seem to work for dmraid
-       filter-flags -fno-inline
-
-       econf   $(use_enable static static_link) \
+       econf \
+               $(use_enable static static_link) \
                $(use_enable selinux libselinux) \
-               $(use_enable selinux libsepol) || die "econf failed"
+               $(use_enable selinux libsepol) \
+               || die "econf failed"
        emake || die "emake failed"
 }
 
 src_install() {
-       emake DESTDIR=${D} install || die "emake install failed"
+       emake DESTDIR="${D}" install || die "emake install failed"
+       dodoc CHANGELOG README TODO KNOWN_BUGS doc/*
 
        # Put the distfile into /usr/share/genkernel/pkg for genkernel
        # in case the user wants to uuse this instead of genkernel's internal version
-       dodir /usr/share/genkernel/pkg
-       cp ${DISTDIR}/${A} ${D}/usr/share/genkernel/pkg/${A}
-
-       dodoc CHANGELOG README TODO KNOWN_BUGS doc/*
+       insinto /usr/share/genkernel/pkg
+       doins "${DISTDIR}"/${A} || die
 }
 
 pkg_postinst() {