wok-current view libusb-compat/receipt @ rev 15482
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 10 17:13:06 2013 +0000 (2013-11-10) |
parents | e8976775c42e |
children | 5613d51e1fdf |
line source
1 # SliTaz package receipt.
3 PACKAGE="libusb-compat"
4 VERSION="0.1.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Compatibility layer to converts libusb 0.1 calls into 1.0 equivalents."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://libusb.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/libusb/$TARBALL"
13 DEPENDS="libusb"
14 BUILD_DEPENDS="libusb-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 }