summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-08-07 16:05:40 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-08-07 16:05:40 +0000
commit60ce890c1beb3f13d96641304c03d9faf39ef334 (patch)
tree5f90516b4f5a488f33e789633e91ccefcf503898 /dev-libs/libusb-compat
parentConversion to multilib-minimal.eclass. (diff)
downloadhistorical-60ce890c1beb3f13d96641304c03d9faf39ef334.tar.gz
historical-60ce890c1beb3f13d96641304c03d9faf39ef334.tar.bz2
historical-60ce890c1beb3f13d96641304c03d9faf39ef334.zip
Conversion to multilib-minimal.eclass.
Package-Manager: portage-2.2.0_alpha191/cvs/Linux x86_64 Manifest-Sign-Key: 0x4868F14D
Diffstat (limited to 'dev-libs/libusb-compat')
-rw-r--r--dev-libs/libusb-compat/ChangeLog8
-rw-r--r--dev-libs/libusb-compat/Manifest17
-rw-r--r--dev-libs/libusb-compat/libusb-compat-0.1.5-r2.ebuild53
3 files changed, 69 insertions, 9 deletions
diff --git a/dev-libs/libusb-compat/ChangeLog b/dev-libs/libusb-compat/ChangeLog
index 2e809d55fd2e..2a564aae6e58 100644
--- a/dev-libs/libusb-compat/ChangeLog
+++ b/dev-libs/libusb-compat/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/libusb-compat
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb-compat/ChangeLog,v 1.36 2013/08/01 12:22:09 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb-compat/ChangeLog,v 1.37 2013/08/07 16:05:36 ssuominen Exp $
+
+*libusb-compat-0.1.5-r2 (07 Aug 2013)
+
+ 07 Aug 2013; Samuli Suominen <ssuominen@gentoo.org>
+ +libusb-compat-0.1.5-r2.ebuild:
+ Conversion to multilib-minimal.eclass.
*libusb-compat-0.1.5-r1 (01 Aug 2013)
diff --git a/dev-libs/libusb-compat/Manifest b/dev-libs/libusb-compat/Manifest
index 0d4f45cac66e..dd722d9228bf 100644
--- a/dev-libs/libusb-compat/Manifest
+++ b/dev-libs/libusb-compat/Manifest
@@ -6,17 +6,18 @@ DIST libusb-compat-0.1.4.tar.bz2 242379 SHA256 ed5bdd160c7b01ef767fb931a81b454f4
DIST libusb-compat-0.1.5.tar.bz2 276769 SHA256 404ef4b6b324be79ac1bfb3d839eac860fbc929e6acb1ef88793a6ea328bc55a SHA512 fe63bd1c65e67588a83ebfdd329025ecf75f33f877fb80dd83eb528df057efb591e010416027f9054294504562299166e8e2811a7681fa1967a03baae9b88857 WHIRLPOOL 2f84934c28980bee9e8ca69d284303cdbaf4cb72cee02108825bd7366bfff7f6365db5ffee8de024eb85dee571eccc47acea6a25d6835f0fefb0ad8a77d05045
EBUILD libusb-compat-0.1.4.ebuild 1032 SHA256 283e508f7e1181773583484014570971982a39bfc96f2c409be38e9d2262c95d SHA512 99d5253c2b63b16b2a3b8b9873c5e678aab60038fc40c266c809c0a419f9a3dfbab34bb859acdeb00624280e962b6f7005147a68bd3e665adb9aac13530af63f WHIRLPOOL a092775978bafe5d52738a715b8066345f664d9514175d5577e2ac126010a8b7a25e566e86e0f06731f8bf8859c1aad93481d31e96f9cb40abd28e63732eac91
EBUILD libusb-compat-0.1.5-r1.ebuild 1090 SHA256 7699d33e40484e4ee3fa129ccd0f32d0c9bd5b582e18e1a7a50c3bedb4b0c1e8 SHA512 ecae18dad80cc53de2256444372a3ea05591091d8b65e1e572714fd837ca9884f070a33782b8506e84ddabb24b0c832a21f92bbda647bb7a9bcdb819ae1d9e28 WHIRLPOOL 407d2a444d5cde0083e802d97b67219ee5366e1ca95175503a2111dade3e696bdd2433ec19be50e14e31c9ff331bcdabab4d24999d435396259b61fca33fa7eb
+EBUILD libusb-compat-0.1.5-r2.ebuild 1444 SHA256 68a16f01fe20c0bea8f1e7f348b768bbe080223598719fa7f4e53a718ade60c4 SHA512 ff82d37d4b1edd6e54c79c44f117e1436fe09ae6dd094acba0381a07c4cdae3b9d26666b925a7d15a914e799ba68e775f0d3db5bb1e7f95577a06568fc73de0e WHIRLPOOL efbe9bac9ed984e10d13968caee5dbccfd7ee33938219dd94e418afbe152ff0e1e77de3f686123eb53744cec61fcf5c6701ac4b8ec98ec4b608abff78d93cee6
EBUILD libusb-compat-0.1.5.ebuild 1029 SHA256 fb1cca5cf7db139581bfd277987e3e3c9001c0472ac41551c1834a7d17492be2 SHA512 39e685e683063c9298a986bc16ecf0c5f21013610908631f9ee89784fae139f44dcd5164125d441cc6fdf39dcd20581df7a380bf289a51140210060d20affd93 WHIRLPOOL 782d9a49f746ab5d295562a10ffd9b6aedabdcda7f3db4600dce0eb4403675666d7f3361b50b276781bb3dfe4e07323e5484b1c4a063a3c38442057730d4d5e3
-MISC ChangeLog 5321 SHA256 289a467e9ffef9462aa7a6eb4bc99a550e24c85dfac4d657761b19dfaf14b7ac SHA512 0564332c10558271eb25a9f2c31b5cd09df8b08053024844e5fcff317901e2289155d3cdff199d5c4dcb3b17d94bbed3723d01b622445d4e95703d84e4aa5287 WHIRLPOOL 2194efc1bde3c521ca5cd02ba5cc450a02f8fd7baa1ca7af848d01c4f5d1e60d11d9d72483138f6c67ccb6a7207c3198e3979870c2326ed03831959c87bc0f43
+MISC ChangeLog 5490 SHA256 253404515f881e73272278f4d2fdd3a6bda060e8bdc2d2960a41d2ca7972c7a8 SHA512 68946e91e28cceb822435ce3f333db41f50ce730aaf01c4ebb7097e222347c3eea2d924a40859c450985a2f8460fd2b7daf2b60e99fda3e7b3e1c9c5926fbecd WHIRLPOOL d2228dc3f98108c3b381a17bb4da49eb266d7aa77bd414dce3ad8d0a7d5e969dddf0ddd7a04248477c189b2ed0688cf5b5cf219eec871baad1bd3ddf04a16b91
MISC metadata.xml 285 SHA256 8f3e4e1f792ef6a6f383ae0aac1627db7f536ff880da423bca1113cea6d06773 SHA512 10fc61b3654c9aee6e9ba9702cf6630928921d2670248b9e1356d417b205dabc959e3672eda071f5fa734b3a001992cecd514a920b6e37376db943266683e75d WHIRLPOOL e26de64dba56ea85587b9e7348a1be056f78a2e2f9f91ffb5faef242b7ced82496b40fe672b18c33491f40a124161ca47af0e80219ebe39a8b24e86557c36db1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
-iQEcBAEBCAAGBQJR+lK/AAoJEEdUh39IaPFNgGoH/jRR7TloVWCl7+qw7MT+lTB2
-MYM5JSXNTAcVF1oxzABE28WwhoH2DXu1B2HYvGougTO7udR4hFljN+W6zP9E027w
-zREuSulK/2an1CdzqVv55QIPFl3GX9tIF9UD2cq8WDAQfFsUNZtLNwXyiz7X2KPu
-7e4obs9Ahyc/TXozEyPWVB3kfugHuyteMFjX0sQn1SKEWWeksUW6+VUmq7R+LiHS
-kLIeHt3nNPHPrQBvV/gxBdZyqYv9OZwpgsm00rNax43vnvxYZkzSi9xmZN6jvyZ3
-DiX6zFfFOAXfvZpTpaeCeg8n4NXzElblMoJkzPvcHYYM+9ZsuePx1EhkUf/wUYg=
-=mPPo
+iQEcBAEBCAAGBQJSAm/fAAoJEEdUh39IaPFNmsEH/ibPtTOxb3vJ5dR+g69kEFZt
+Z3JowdVW7mrkMzs/FnD83IfZJFPKOC+2W4eLSY12foT3wQKfTivW6CoKHPpY7Xdx
+7tOeVlOnGUoMFsXH1dVwYQb/cxQwfUQme1b8hrttzUfkbKpocKbwFETNc8Eqyadr
+cRWyxe0hMVsrx54nopd78nYXT8es3TEK+NgLq3bgzOZ4Rs36dq4SAG96owTqXbol
+3dljBbo3pLRYjAYAeGyrRwjYephXIVDsJ7eDdgqJQ4d6w+fQYai2GADqaPDxUxxz
++32jLV8uVaDYuCyactk3huMDpBmiu2K8fprNZRvim6eyXNO+ZwObgqVPTxAlsfM=
+=6zgd
-----END PGP SIGNATURE-----
diff --git a/dev-libs/libusb-compat/libusb-compat-0.1.5-r2.ebuild b/dev-libs/libusb-compat/libusb-compat-0.1.5-r2.ebuild
new file mode 100644
index 000000000000..6f62cde69af1
--- /dev/null
+++ b/dev-libs/libusb-compat/libusb-compat-0.1.5-r2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb-compat/libusb-compat-0.1.5-r2.ebuild,v 1.1 2013/08/07 16:05:36 ssuominen Exp $
+
+EAPI=5
+inherit eutils toolchain-funcs multilib-minimal
+
+DESCRIPTION="Userspace access to USB devices (libusb-0.1 compat wrapper)"
+HOMEPAGE="http://libusb.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN/-compat}/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="debug examples static-libs"
+
+# virtual/libusb:1 and it's dep needs to be converted
+RDEPEND="virtual/libusb:1
+ !dev-libs/libusb:0"
+# abi_x86_32? (
+# !<=app-emulation/emul-linux-x86-baselibs-2013
+# !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
+# )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN/-compat}-0.1-ansi.patch
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE=${S} \
+ econf \
+ $(use_enable static-libs static) \
+ $(use_enable debug debug-log)
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+
+ multilib_is_native_abi && gen_usr_ldscript -a usb
+}
+
+multilib_src_install_all() {
+ prune_libtool_files
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/*.c
+ fi
+}