wok-next annotate libusb-compat/receipt @ rev 19693
Add: gcr, oniguruma; remove: nano-doc; up: apr, fribidi, jasper, libgphoto2, libmtp, libunique, libwebp, nano, pcre, apr, apr-util, aspell*, glib-networking, gnutls, gsettings-desktop-schemas, gtk+, gtk+3, gvfs*, libexif, libfm, libgnutls, libmng, libraw, libsoup, libtasn1, libusb, libwebp, lxmenu-data, menu-cache, mysql, newt, p11-kit, pcre, popt, postgresql, slang, which
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 21 14:48:05 2017 +0300 (2017-04-21) |
parents | d15f5ee57730 |
children | 0e7893ac206d |
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 |