wok annotate usb-modeswitch/receipt @ rev 12144
postgis: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 14 10:25:08 2012 +0100 (2012-03-14) |
parents | |
children | 9589451c3651 |
rev | line source |
---|---|
pankso@12080 | 1 # SliTaz package receipt. |
pankso@12080 | 2 |
pankso@12080 | 3 PACKAGE="usb-modeswitch" |
pankso@12080 | 4 VERSION="1.2.3" |
pankso@12080 | 5 CATEGORY="system-tools" |
pankso@12080 | 6 SHORT_DESC="Handling Mode-Switching USB Devices on Linux." |
pankso@12080 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@12080 | 8 WEB_SITE="http://www.draisberghof.de/usb_modeswitch/" |
pankso@12080 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@12080 | 10 WGET_URL="http://www.draisberghof.de/usb_modeswitch/$TARBALL" |
pankso@12080 | 11 |
pankso@12080 | 12 DEPENDS="libusb-compat" |
pankso@12080 | 13 BUILD_DEPENDS="libusb-compat-dev" |
pankso@12080 | 14 |
pankso@12080 | 15 # Rules to configure and make the package. |
pankso@12080 | 16 compile_rules() |
pankso@12080 | 17 { |
pankso@12080 | 18 make && make install |
pankso@12080 | 19 } |
pankso@12080 | 20 |
pankso@12080 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12080 | 22 genpkg_rules() |
pankso@12080 | 23 { |
pankso@12080 | 24 mkdir -p $fs/usr |
pankso@12080 | 25 cp -a $install/etc $fs |
pankso@12080 | 26 cp -a $install/lib $fs |
pankso@12080 | 27 cp -a $install/var $fs |
pankso@12080 | 28 cp -a $install/usr/sbin $fs/usr |
pankso@12080 | 29 } |