wok-next rev 12080
Add usb-modeswitch-data help use sell phone as modem
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Mar 09 13:51:51 2012 +0100 (2012-03-09) |
parents | 21d0e756562a |
children | 8b78d0838df0 |
files | usb-modeswitch-data/receipt usb-modeswitch/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/usb-modeswitch-data/receipt Fri Mar 09 13:51:51 2012 +0100 1.3 @@ -0,0 +1,28 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="usb-modeswitch-data" 1.7 +VERSION="20120120" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Device database and the rules file for usb_modeswitch." 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="usb-modeswitch" 1.16 +BUILD_DEPENDS="" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + 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/udev $fs/etc 1.30 + cp -a $install/usr $fs 1.31 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/usb-modeswitch/receipt Fri Mar 09 13:51:51 2012 +0100 2.3 @@ -0,0 +1,29 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="usb-modeswitch" 2.7 +VERSION="1.2.3" 2.8 +CATEGORY="system-tools" 2.9 +SHORT_DESC="Handling Mode-Switching USB Devices on Linux." 2.10 +MAINTAINER="pankso@slitaz.org" 2.11 +WEB_SITE="http://www.draisberghof.de/usb_modeswitch/" 2.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.13 +WGET_URL="http://www.draisberghof.de/usb_modeswitch/$TARBALL" 2.14 + 2.15 +DEPENDS="libusb-compat" 2.16 +BUILD_DEPENDS="libusb-compat-dev" 2.17 + 2.18 +# Rules to configure and make the package. 2.19 +compile_rules() 2.20 +{ 2.21 + make && make install 2.22 +} 2.23 + 2.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.25 +genpkg_rules() 2.26 +{ 2.27 + mkdir -p $fs/usr 2.28 + cp -a $install/etc $fs 2.29 + cp -a $install/lib $fs 2.30 + cp -a $install/var $fs 2.31 + cp -a $install/usr/sbin $fs/usr 2.32 +}