wok-current annotate libusb-compat/receipt @ rev 19138
Add x265
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 18 16:28:27 2016 +0200 (2016-05-18) |
parents | d15f5ee57730 |
children | 1391e3f0a87b |
rev | line source |
---|---|
pankso@2899 | 1 # SliTaz package receipt. |
pankso@2899 | 2 |
pankso@2899 | 3 PACKAGE="libusb-compat" |
pascal@16365 | 4 VERSION="0.1.4" |
pankso@2899 | 5 CATEGORY="system-tools" |
pankso@2899 | 6 SHORT_DESC="Compatibility layer to converts libusb 0.1 calls into 1.0 equivalents." |
pankso@2899 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15482 | 8 LICENSE="LGPL2.1" |
pankso@2899 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@2899 | 10 WEB_SITE="http://libusb.sourceforge.net/" |
pankso@2899 | 11 WGET_URL="$SF_MIRROR/libusb/$TARBALL" |
pankso@16079 | 12 HOST_ARCH="i486 arm" |
pankso@2899 | 13 |
pankso@9754 | 14 DEPENDS="libusb" |
pascal@16366 | 15 BUILD_DEPENDS="libusb-dev udev-dev" |
pankso@9754 | 16 |
pankso@2899 | 17 # Rules to configure and make the package. |
pankso@2899 | 18 compile_rules() |
pankso@2899 | 19 { |
pankso@2899 | 20 cd $src |
pankso@2899 | 21 ./configure \ |
pankso@2899 | 22 --prefix=/usr \ |
pankso@2899 | 23 $CONFIGURE_ARGS && |
pankso@2899 | 24 make && |
pascal@15482 | 25 make DESTDIR=$DESTDIR install |
pankso@2899 | 26 } |
pankso@2899 | 27 |
pankso@2899 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2899 | 29 genpkg_rules() |
pankso@2899 | 30 { |
pankso@2899 | 31 mkdir -p $fs/usr/lib |
pascal@15482 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@2899 | 33 } |
pankso@2899 | 34 |