wok-current view libusb/receipt @ rev 19774

some *-dev depend on pkg-config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 21 15:50:51 2017 +0100 (2017-02-21)
parents 5613d51e1fdf
children e733e84558bd
line source
1 # SliTaz package receipt.
3 PACKAGE="libusb"
4 VERSION="1.0.18"
5 CATEGORY="system-tools"
6 SHORT_DESC="USB accedd library."
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/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="udev"
15 BUILD_DEPENDS="udev-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure $CONFIGURE_ARGS &&
21 make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $install/usr/lib/*.so* $fs/usr/lib
29 }