wok-6.x diff usb-modeswitch/receipt @ rev 12835

Add xz and custom glibc-base to x86_64
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 22 18:12:44 2012 +0200 (2012-05-22)
parents
children 9589451c3651
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/usb-modeswitch/receipt	Tue May 22 18:12:44 2012 +0200
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="usb-modeswitch"
     1.7 +VERSION="1.2.3"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Handling Mode-Switching USB Devices on Linux."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +WEB_SITE="http://www.draisberghof.de/usb_modeswitch/"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 +WGET_URL="http://www.draisberghof.de/usb_modeswitch/$TARBALL"
    1.14 +
    1.15 +DEPENDS="libusb-compat"
    1.16 +BUILD_DEPENDS="libusb-compat-dev"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	make && make install
    1.22 +}
    1.23 +
    1.24 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.25 +genpkg_rules()
    1.26 +{
    1.27 +	mkdir -p $fs/usr
    1.28 +	cp -a $install/etc $fs
    1.29 +	cp -a $install/lib $fs
    1.30 +	cp -a $install/var $fs
    1.31 +	cp -a $install/usr/sbin $fs/usr
    1.32 +}