wok view tazusb/receipt @ rev 24175

Up usbids (20211224)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 30 11:41:25 2021 +0000 (2021-12-30)
parents 8f9abd79c4da
children
line source
1 # SliTaz package receipt.
3 PACKAGE="tazusb"
4 VERSION="209"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz LiveUSB utility"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.slitaz.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.bz2"
12 TAGS="slitaz"
14 DEPENDS="lzma"
16 current_version()
17 {
18 wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \
19 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \
20 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make DESTDIR=$DESTDIR VERSION=$VERSION install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 #
31 genpkg_rules()
32 {
33 mkdir -p $fs
34 cp -a $install/usr $fs
35 chown -R root.root $fs
36 }