summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <jcallen@gentoo.org>2009-10-02 02:54:47 +0000
committerJonathan Callen <jcallen@gentoo.org>2009-10-02 02:54:47 +0000
commit0f27c36ca4e05a4bc948179dd6cb92f278731dfa (patch)
tree198c5bcca792115653bcb9e651bb746878419644 /dev-libs/lockdev
parentRemove *.la files (diff)
downloadhistorical-0f27c36ca4e05a4bc948179dd6cb92f278731dfa.tar.gz
historical-0f27c36ca4e05a4bc948179dd6cb92f278731dfa.tar.bz2
historical-0f27c36ca4e05a4bc948179dd6cb92f278731dfa.zip
Remove *.la files
Package-Manager: portage--svn/cvs/Linux i686
Diffstat (limited to 'dev-libs/lockdev')
-rw-r--r--dev-libs/lockdev/ChangeLog8
-rw-r--r--dev-libs/lockdev/Manifest3
-rw-r--r--dev-libs/lockdev/lockdev-1.0.3.1.2-r1.ebuild102
3 files changed, 111 insertions, 2 deletions
diff --git a/dev-libs/lockdev/ChangeLog b/dev-libs/lockdev/ChangeLog
index 6b5220aeaba3..a648144f6f83 100644
--- a/dev-libs/lockdev/ChangeLog
+++ b/dev-libs/lockdev/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/lockdev
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/lockdev/ChangeLog,v 1.2 2009/09/11 08:22:23 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/lockdev/ChangeLog,v 1.3 2009/10/02 02:54:47 abcd Exp $
+
+*lockdev-1.0.3.1.2-r1 (02 Oct 2009)
+
+ 02 Oct 2009; Jonathan Callen <abcd@gentoo.org>
+ +lockdev-1.0.3.1.2-r1.ebuild:
+ Remove *.la files
11 Sep 2009; Jonathan Callen <abcd@gentoo.org> lockdev-1.0.3.1.2.ebuild:
Keyword ~amd64
diff --git a/dev-libs/lockdev/Manifest b/dev-libs/lockdev/Manifest
index 598c634b126c..ffbd8014b459 100644
--- a/dev-libs/lockdev/Manifest
+++ b/dev-libs/lockdev/Manifest
@@ -2,6 +2,7 @@ AUX lockdev-1.0.3-add-autotools.patch 1341 RMD160 647b9ce642a7244a5aaf68482f2594
AUX lockdev-1.0.3-fix-perl.patch 307 RMD160 1eb44981bd11caa5f1936967ac47f0637f1971d9 SHA1 e7eec19e896f689c7df30e84d795c70e5008c9ab SHA256 75de8258be62a07dd77cbbc2eff04f4e352ba68fb1d1f6da4fe91ae718440115
DIST lockdev_1.0.3-1.2.diff.gz 7642 RMD160 1c10f5ca78242898d2db5097a70ddf6008061b6a SHA1 086d7fd152da1db12ac59ef600ada494867de2cc SHA256 02d35e82805551342438804b3bfe9df153f9089407272f1cda9d76d84740ce90
DIST lockdev_1.0.3.orig.tar.gz 29150 RMD160 54665000c135877dab7d14eb88092c9761e688d5 SHA1 21ab7b34c46e352bd09296d6175f4f4b3e22dcf1 SHA256 ccae635d7ac3fdd50897eceb250872b3d9a191d298f213e7f0c836910d869f82
+EBUILD lockdev-1.0.3.1.2-r1.ebuild 2124 RMD160 2d10bce21f9599287715caa5b3f7e1cb8aadbca0 SHA1 2a495a321e6ecf9a1e7eb278c15e560b1bd2a9af SHA256 4f6118a61c79933c1f03e2d4fa320b01bacc72ff8674239ca380a48abf5fba88
EBUILD lockdev-1.0.3.1.2.ebuild 2021 RMD160 a8a54abe0c69784c2d17d8b058c1b89c30843f8c SHA1 b8e3c7c5da5e3c1a0b6dd0993717dcd9f7a31610 SHA256 f592dcfcc56b46ddc46b37612293b2c3ce4fea514695f93ef80e1bf39571d1fb
-MISC ChangeLog 630 RMD160 3ac62df8494aa3f48f4ac076f966ad23bb4a71e6 SHA1 77f53ac86b7795fff4b0c8d278932562553597b6 SHA256 4b72279548f1802697a5aacd14eab54d0b57994627a27dd05540a28d48b999f6
+MISC ChangeLog 769 RMD160 b47fff982f752fa797eda18c022f59fcf40a9807 SHA1 992610c8fd6aacb2879085f9607cb3e4cee8a4f9 SHA256 5dc784465c07e9cdd71164922ea77b34381f844df9837c028e62587644584505
MISC metadata.xml 251 RMD160 5484d03aadd308182c0ac972a72d8b948335baa1 SHA1 8a8d01187b86659f8046532b8e76a3d8e42f7b44 SHA256 99c0c53a0f73a7f7250d6488e0f282172ea065830f6eac3ebcc11a770a0ab395
diff --git a/dev-libs/lockdev/lockdev-1.0.3.1.2-r1.ebuild b/dev-libs/lockdev/lockdev-1.0.3.1.2-r1.ebuild
new file mode 100644
index 000000000000..3df7250fd648
--- /dev/null
+++ b/dev-libs/lockdev/lockdev-1.0.3.1.2-r1.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2009 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-r1.ebuild,v 1.1 2009/10/02 02:54:47 abcd Exp $
+
+EAPI="2"
+
+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 ~x86"
+IUSE="perl"
+
+DEPEND="
+ perl? ( dev-lang/perl[-build] )
+"
+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
+}