wok-next annotate libusb/receipt @ rev 3760
mirror-tools/mkpkgiso: set lighttpd sort weight
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 25 08:02:34 2009 +0200 (2009-07-25) |
parents | b1c755879a00 |
children | 15cbebdedd90 |
rev | line source |
---|---|
pankso@640 | 1 # SliTaz package receipt. |
pankso@640 | 2 |
pankso@640 | 3 PACKAGE="libusb" |
pankso@2864 | 4 VERSION="1.0.0" |
pankso@640 | 5 CATEGORY="system-tools" |
pankso@640 | 6 SHORT_DESC="USB accedd library." |
pankso@640 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@2899 | 8 DEPENDS="libusb-compat" |
pankso@2864 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@640 | 10 WEB_SITE="http://libusb.sourceforge.net/" |
pankso@640 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@640 | 12 |
pankso@640 | 13 # Rules to configure and make the package. |
pankso@640 | 14 compile_rules() |
pankso@640 | 15 { |
pankso@640 | 16 cd $src |
pankso@640 | 17 ./configure \ |
pankso@640 | 18 --prefix=/usr \ |
pankso@2899 | 19 $CONFIGURE_ARGS && |
pankso@2899 | 20 make && |
pankso@640 | 21 make DESTDIR=$PWD/_pkg install |
pankso@640 | 22 } |
pankso@640 | 23 |
pankso@640 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@640 | 25 genpkg_rules() |
pankso@640 | 26 { |
pankso@640 | 27 mkdir -p $fs/usr/lib |
pankso@640 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@640 | 29 } |
pankso@640 | 30 |