wok-6.x annotate usb-modeswitch-data/receipt @ rev 24159
Up ventoy (1.0.62)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 20 10:05:11 2021 +0000 (2021-12-20) |
parents | 37c51a23ae10 |
children | 934055de50e2 |
rev | line source |
---|---|
pankso@12080 | 1 # SliTaz package receipt. |
pankso@12080 | 2 |
pankso@12080 | 3 PACKAGE="usb-modeswitch-data" |
Hans-G?nter@22086 | 4 VERSION="20170806" |
pankso@12080 | 5 CATEGORY="system-tools" |
pankso@12080 | 6 SHORT_DESC="Device database and the rules file for usb_modeswitch." |
pankso@12080 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@22632 | 9 WEB_SITE="https://www.draisberghof.de/usb_modeswitch/" |
Hans-G?nter@22086 | 10 |
pankso@12080 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@12080 | 12 WGET_URL="http://www.draisberghof.de/usb_modeswitch/$TARBALL" |
pankso@12080 | 13 |
pankso@12080 | 14 DEPENDS="usb-modeswitch" |
pankso@12115 | 15 BUILD_DEPENDS="coreutils-operations" |
pankso@12080 | 16 |
pankso@12080 | 17 # Rules to configure and make the package. |
pankso@12080 | 18 compile_rules() |
pankso@12080 | 19 { |
Hans-G?nter@22086 | 20 make && |
Hans-G?nter@22086 | 21 make install |
pankso@12080 | 22 } |
pankso@12080 | 23 |
pankso@12080 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12080 | 25 genpkg_rules() |
pankso@12080 | 26 { |
pankso@12080 | 27 mkdir -p $fs/usr |
Hans-G?nter@22086 | 28 |
Hans-G?nter@22086 | 29 cp -a $install/etc $fs |
Hans-G?nter@22086 | 30 cp -a $install/lib/udev $fs/etc |
Hans-G?nter@22086 | 31 cp -a $install/usr $fs |
pankso@12080 | 32 } |