diff options
author | Ian Delaney <idella4@gentoo.org> | 2013-09-04 12:45:44 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2013-09-04 12:45:44 +0000 |
commit | 4dd31cc3cca77fe8acc7fc4850161775ae07cbf3 (patch) | |
tree | fdba61e63028f3f95ddcc4c173a0f44b962dd3ee /dev-libs | |
parent | Cleanup old. (diff) | |
download | historical-4dd31cc3cca77fe8acc7fc4850161775ae07cbf3.tar.gz historical-4dd31cc3cca77fe8acc7fc4850161775ae07cbf3.tar.bz2 historical-4dd31cc3cca77fe8acc7fc4850161775ae07cbf3.zip |
revbump -> EAPI 5
Package-Manager: portage-2.2.0/cvs/Linux x86_64
Manifest-Sign-Key: 0xB8072B0D
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/lockdev/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/lockdev/Manifest | 21 | ||||
-rw-r--r-- | dev-libs/lockdev/lockdev-1.0.3.1.2-r2.ebuild | 100 |
3 files changed, 112 insertions, 16 deletions
diff --git a/dev-libs/lockdev/ChangeLog b/dev-libs/lockdev/ChangeLog index 7511bd6a7f73..9978f8078cdc 100644 --- a/dev-libs/lockdev/ChangeLog +++ b/dev-libs/lockdev/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/lockdev # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/lockdev/ChangeLog,v 1.8 2013/08/08 20:13:15 jcallen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/lockdev/ChangeLog,v 1.9 2013/09/04 12:45:07 idella4 Exp $ + +*lockdev-1.0.3.1.2-r2 (04 Sep 2013) + + 04 Sep 2013; Ian Delaney <idella4@gentoo.org> +lockdev-1.0.3.1.2-r2.ebuild: + revbump -> EAPI 5 08 Aug 2013; Jonathan Callen <jcallen@gentoo.org> lockdev-1.0.3.1.2-r1.ebuild: Fix dep for perl 5.16 (bug 479074) diff --git a/dev-libs/lockdev/Manifest b/dev-libs/lockdev/Manifest index 46bde3bb5ea8..1939b8e6ac19 100644 --- a/dev-libs/lockdev/Manifest +++ b/dev-libs/lockdev/Manifest @@ -6,22 +6,13 @@ AUX lockdev-1.0.3-fix-perl.patch 307 SHA256 75de8258be62a07dd77cbbc2eff04f4e352b DIST lockdev_1.0.3-1.2.diff.gz 7642 SHA256 02d35e82805551342438804b3bfe9df153f9089407272f1cda9d76d84740ce90 SHA512 22fce119a8075a5b99a4ef83b31f62da64725067863949d4833b4d66f9e8e2d34920eee11c5acdcc14b1a643a21c56c39ec2adf31ae7fa489795dd5534eb7b6c WHIRLPOOL 3452a175b3df9bcd56eee292231fd67e65519adf3bdc32e720976489a0ff9355ce9abe796059de139b07cb9df1508269876fda9295591a45331e725d14488049 DIST lockdev_1.0.3.orig.tar.gz 29150 SHA256 ccae635d7ac3fdd50897eceb250872b3d9a191d298f213e7f0c836910d869f82 SHA512 4066985059add674ef8a9195e611db8ead89ca6191c04b7f29243b12a3448c82a3d0ea852bf99e26e1c71f163891acd198867650a5c4843f787e1944a8bc7f2b WHIRLPOOL 79002de33c1c0748e1d555c144ca72ae1737616cbb72f491d6bef3a9226798b0eb23d875885e6fd78c9e0eff03c965b4992008f5238aa564d0ad09747b9ac8d7 EBUILD lockdev-1.0.3.1.2-r1.ebuild 2164 SHA256 bab06ee409f78149c4ed702e5918c38a4ebad7e87203b3aa9b8652e1572a6a8d SHA512 6fba9b561089f4922aae164359577f7229e4bfa15904d7cc9926f88c16cf9f23e93d1db06af1e131be09820337abcacfd62f0919e8edd5b93b6f964deff4c45a WHIRLPOOL 1e784e4ef987b5ff997042c2798dead8df5e6ae403bbf1233a3f1d7c086e50fabccc05359b633d6c96f91c8b85d6c21ca37dcfc0165617ed4694a51c0c514ad5 -MISC ChangeLog 1351 SHA256 3fb2387e1a53aaea000be01741b117b8a5ed961100a17dca0cdd2f31916b71c9 SHA512 d6c8dd2ebb400a32f1674fc2cef077156d17cf1cd774449ac6dbb6dba78621d680d8a96a4166fe667af86cfcf6c699e1374199402ce9d1f51ad572635ee3947a WHIRLPOOL 26a609dd836940b1641153a3123a4c6a578aa97eedab35ab093aa999678139a5b5c84c6b3d6a6ba9be7afdd7320f655c80bcbaa89725a5264aa1fe4a75f3c0b4 +EBUILD lockdev-1.0.3.1.2-r2.ebuild 2096 SHA256 09a7195a3f2c644e334b277c72ecce036c61e2362ecc603ad0e7bec49996f825 SHA512 b63dac8ada8b67c85b1ab5474f33fb56e052a4714c8edb8b925d442e91fc826237c2aac9d42aedbcf5fe83aded269dad570f06454b14f4fec7f70ff94585c728 WHIRLPOOL ef290466c7449af70428ce9726095b83aaab23474df9d4d1cda114d5859a44fd96794613de5f1c836c9ba097ec883b1a903cb766d48023e7a7a944f11bc5b14c +MISC ChangeLog 1487 SHA256 f17194b6fb35024c23f642c38dc6e5171695ffaf5d78cd31bf499b18a88d2e70 SHA512 aa6d1f5061524b96a4b63c08368bf93b86066027b6a80fb67ca0bc74c1cf65a5eadd3424718a12291b70eeb49acc941e778efb0a56ebcc7a4b4962c6cd582d7e WHIRLPOOL e45b30301946f9b5f04a8f90fb34baf5dbe4135848ea42b60d4812044f3c94e04a8d1261878ef89270d7dbdc20aa17238a99df60921ba960a89c732112f1f15e MISC metadata.xml 230 SHA256 1d5b64fd97f848f84f076d2ed3726f1f5505be291326ace28c8245738199f592 SHA512 f8acf0eb4837096ad90109bbb109269b5335034c5d5ae0542dfa4232a6f47ee951785ba0ccc0dd1bb29eafc052125ae79c64ec821bd41d29898fc04d73c1d4d3 WHIRLPOOL 1570db67da16d64489605580cfc489e2067499f4c0088671744a190047e6abaf7bacd929b623990dbcbb3860c0361e44349a0da80394473a9cabf19cc24692d8 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.20 (GNU/Linux) +Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBCAAGBQJSA/vfAAoJELHSF2kinlg4QNgP/jaWNxk2DjBAZXGsKfuElOXC -7Oo16hdbSsunrZnBTmsialEj2bN+1z+nrDBB67kaT7qXVCbMgcbE0TUK7hlFSWZr -7gKxO2wZkjkgj9+NgEJ/qss6BtjvXUsi9DH936fw8CAVax/s5xBvsIRecHLsnV1y -yTT+JJqKw5z2HsG/3qX/LXL7fk9OQyRYZwQfKlN/plpQZP7wZpGzFFxV0Jj9eaqy -PsEfOzL2JEK7v5wxtM/UXEWZcoJjpY6101nGzkdVMKIno1fktHzAlNjkZiJWzXH1 -VqtpAU+PSFpcdN4sNEtFJ9Vr3rfWI5rY+qq8zRRxrOvQxBmuijcp+atMOKH0mEHO -6PjLcUmGWGrcyd0b37GLWKovp5Sti+Fe6z7bDgpsBAkQ398CBWb5ivhayIoU8DcL -QgwIEgoCu5bceSbUB1fgZRyyzndjewrYqXTeVKg3pI5BGHGpnnwIUqqLa6nGnWy+ -lOLy170xxeDYkOl5ZVKuYJINSZOHKv9PCICRMsbh91Rjb7i5/4LVcwYj2/+UUKcX -CqLxCyBXeh29nyOBI0qcCHyOVW18EBY/uoM7vrVhCJd1BHgBvMsknSseXr1MHMjk -URmPYNp8UmWmFC9b/NtWu5Q/KnzsS2nWN4tHzUWHr6RvHlk/qtyZTTpFFCkWUQM0 -xFLGsVlX4JC1XzsIqpfB -=JoDu +iEYEAREIAAYFAlInK1MACgkQso7CE7gHKw2g1ACeMV0aPx0SDWUdiYJnjsxJA82G +rfUAniL710oX0yYfCK5T3OqB1Gg0BPKI +=8qGB -----END PGP SIGNATURE----- diff --git a/dev-libs/lockdev/lockdev-1.0.3.1.2-r2.ebuild b/dev-libs/lockdev/lockdev-1.0.3.1.2-r2.ebuild new file mode 100644 index 000000000000..a66a9d8643df --- /dev/null +++ b/dev-libs/lockdev/lockdev-1.0.3.1.2-r2.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/lockdev/lockdev-1.0.3.1.2-r2.ebuild,v 1.1 2013/09/04 12:45:07 idella4 Exp $ + +EAPI=5 + +GENTOO_DEPEND_ON_PERL="no" +inherit toolchain-funcs base perl-module eutils versionator autotools + +MAJOR=$(get_major_version) +MY_PV=$(get_version_component_range 1-3) +MY_P=${PN}-${MY_PV} +DEB_PV=$(replace_version_separator 3 '-') +DEB_P=${PN}_${DEB_PV} + +DESCRIPTION="Library for locking devices" +HOMEPAGE="http://packages.debian.org/source/sid/lockdev" +SRC_URI=" + mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${MY_PV}.orig.tar.gz + mirror://debian/pool/main/${PN:0:1}/${PN}/${DEB_P}.diff.gz +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="perl" + +DEPEND="" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${MY_P}-add-autotools.patch" + "${FILESDIR}/${MY_P}-fix-perl.patch" +) + +S=${WORKDIR}/${PN}-${MY_PV} +PERL_S=${S}/LockDev + +pkg_setup() { + use perl && perl-module_pkg_setup +} + +src_prepare() { + cd "${WORKDIR}" + # Note: we do *not* want to be in ${S} for this, as that breaks the patch + epatch "${WORKDIR}/${DEB_P}.diff" + + cd "${S}" + base_src_prepare + + eautoreconf +} + +src_configure() { + econf + + if use perl; then + cd "${PERL_S}" + perl-module_src_configure + fi +} + +src_compile() { + emake || die "emake failed" + + if use perl; then + cd "${PERL_S}" + perl-module_src_compile + fi +} + +src_test() { + if use perl; then + cd "${PERL_S}" + SRC_TEST="do" + export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${S}/.libs" + perl-module_src_test + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + + dodoc AUTHORS ChangeLog* debian/NEWS README.debug || die "dodoc failed" + newdoc debian/changelog changelog.debian || die "newdoc changelog.debian failed" + + if use perl; then + cd "${PERL_S}" + mytargets="pure_install" + docinto perl + perl-module_src_install + fi + + # Remove *.la files + find "${D}" -name "*.la" -exec rm {} + || die "removal of *.la files failed" +} + +pkg_preinst() { + use perl && perl-module_pkg_preinst +} |