wok view usb-modeswitch/receipt @ rev 12088

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