wok rev 2899

Add libusb-compat (Fix build of various packages)
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 05 12:00:37 2009 +0200 (2009-05-05)
parents 7abd0f6677b8
children 82f2f39c93eb
files libusb-compat-dev/receipt libusb-compat/receipt libusb-dev/receipt libusb/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libusb-compat-dev/receipt	Tue May 05 12:00:37 2009 +0200
     1.3 @@ -0,0 +1,20 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libusb-compat-dev"
     1.7 +VERSION="0.1.0"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="USB accedd library devel files."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +WANTED="libusb-compat"
    1.12 +WEB_SITE="http://libusb.sourceforge.net/"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	mkdir -p $fs/usr/lib
    1.18 +	cp -a $_pkg/usr/bin $fs/usr
    1.19 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.20 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.21 +	cp -a $_pkg/usr/include $fs/usr
    1.22 +}
    1.23 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libusb-compat/receipt	Tue May 05 12:00:37 2009 +0200
     2.3 @@ -0,0 +1,29 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="libusb-compat"
     2.7 +VERSION="0.1.0"
     2.8 +CATEGORY="system-tools"
     2.9 +SHORT_DESC="Compatibility layer to converts libusb 0.1 calls into 1.0 equivalents."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.12 +WEB_SITE="http://libusb.sourceforge.net/"
    2.13 +WGET_URL="$SF_MIRROR/libusb/$TARBALL"
    2.14 +
    2.15 +# Rules to configure and make the package.
    2.16 +compile_rules()
    2.17 +{
    2.18 +	cd $src
    2.19 +	./configure \
    2.20 +		--prefix=/usr \
    2.21 +		$CONFIGURE_ARGS &&
    2.22 +	make &&
    2.23 +	make DESTDIR=$PWD/_pkg install
    2.24 +}
    2.25 +
    2.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.27 +genpkg_rules()
    2.28 +{
    2.29 +	mkdir -p $fs/usr/lib
    2.30 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.31 +}
    2.32 +
     3.1 --- a/libusb-dev/receipt	Tue May 05 04:04:47 2009 +0000
     3.2 +++ b/libusb-dev/receipt	Tue May 05 12:00:37 2009 +0200
     3.3 @@ -5,6 +5,7 @@
     3.4  CATEGORY="development"
     3.5  SHORT_DESC="USB accedd library devel files."
     3.6  MAINTAINER="pankso@slitaz.org"
     3.7 +DEPENDS="libusb-compat-dev"
     3.8  WANTED="libusb"
     3.9  WEB_SITE="http://libusb.sourceforge.net/"
    3.10  
     4.1 --- a/libusb/receipt	Tue May 05 04:04:47 2009 +0000
     4.2 +++ b/libusb/receipt	Tue May 05 12:00:37 2009 +0200
     4.3 @@ -5,6 +5,7 @@
     4.4  CATEGORY="system-tools"
     4.5  SHORT_DESC="USB accedd library."
     4.6  MAINTAINER="pankso@slitaz.org"
     4.7 +DEPENDS="libusb-compat"
     4.8  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     4.9  WEB_SITE="http://libusb.sourceforge.net/"
    4.10  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    4.11 @@ -15,10 +16,8 @@
    4.12  	cd $src
    4.13  	./configure \
    4.14  		--prefix=/usr \
    4.15 -		--infodir=/usr/share/info \
    4.16 -		--mandir=/usr/share/man \
    4.17 -		$CONFIGURE_ARGS
    4.18 -	make
    4.19 +		$CONFIGURE_ARGS &&
    4.20 +	make &&
    4.21  	make DESTDIR=$PWD/_pkg install
    4.22  }
    4.23