wok-current annotate libusb/receipt @ rev 20580

go: force arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 13 22:11:22 2018 +0100 (2018-12-13)
parents d15f5ee57730
children 82030d5e8b0a
rev   line source
pankso@640 1 # SliTaz package receipt.
pankso@640 2
pankso@640 3 PACKAGE="libusb"
pascal@16365 4 VERSION="1.0.18"
pankso@640 5 CATEGORY="system-tools"
pascal@19991 6 SHORT_DESC="USB access library."
pankso@640 7 MAINTAINER="pankso@slitaz.org"
pascal@15482 8 LICENSE="LGPL2.1"
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@16079 12 HOST_ARCH="i486 arm"
pankso@640 13
pascal@16365 14 DEPENDS="udev"
pascal@16365 15 BUILD_DEPENDS="udev-dev"
pascal@16365 16
pankso@640 17 # Rules to configure and make the package.
pankso@640 18 compile_rules()
pankso@640 19 {
pankso@16079 20 ./configure $CONFIGURE_ARGS &&
pankso@16079 21 make && make 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
pascal@15482 28 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@640 29 }
pankso@640 30