wok-current annotate tazwok/receipt @ rev 24987
grub: add gpt support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 12 07:08:39 2022 +0000 (2022-05-12) |
parents | 1eac19b43f27 |
children |
rev | line source |
---|---|
pankso@10 | 1 # SliTaz package receipt. |
pankso@10 | 2 |
pankso@10 | 3 PACKAGE="tazwok" |
pascal@19022 | 4 VERSION="557" |
pankso@210 | 5 CATEGORY="base-system" |
pankso@10 | 6 SHORT_DESC="SliTaz sources and binaries packages cooker." |
gokhlayeh@11342 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
pascal@15363 | 8 LICENSE="BSD" |
slaxemulator@9384 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@10 | 10 WEB_SITE="http://www.slitaz.org/" |
slaxemulator@10727 | 11 WGET_URL="http://hg.slitaz.org/tazwok/archive/$VERSION.tar.bz2" |
jozee@4973 | 12 TAGS="slitaz" |
pankso@10 | 13 |
pascal@17482 | 14 DEPENDS="busybox slitaz-base-files" |
pascal@15363 | 15 |
pascal@24069 | 16 current_version() |
pascal@24069 | 17 { |
pascal@24069 | 18 wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ |
pascal@24069 | 19 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ |
pascal@24069 | 20 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' |
pascal@24069 | 21 } |
pascal@24069 | 22 |
pankso@10 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10 | 24 genpkg_rules() |
pankso@10 | 25 { |
pankso@8776 | 26 mkdir -p $fs/usr/bin $fs/usr/share/doc/tazwok \ |
pankso@8776 | 27 $fs/etc/slitaz $fs/usr/share/slitaz/web-bb \ |
pankso@8776 | 28 $fs/usr/lib/slitaz/chroot-scripts |
pankso@10 | 29 # Copy Tazwok, doc and examples. |
pankso@10 | 30 cp -a $src/tazwok $fs/usr/bin |
pankso@10 | 31 chmod 755 $fs/usr/bin/tazwok |
pankso@10 | 32 cp -a $src/doc/* $fs/usr/share/doc/tazwok |
pankso@3839 | 33 cp -a $src/applications $fs/usr/share |
pankso@10 | 34 # Config file |
pankso@8776 | 35 cp -a $src/examples/tazwok.conf $fs/etc/slitaz |
pankso@8776 | 36 cp -a $src/examples/config.site $fs/etc |
pankso@8776 | 37 # Webserver stuff |
pankso@8776 | 38 cp -a $src/web/* $fs/usr/share/slitaz/web-bb |
pankso@8776 | 39 # Chroot scripts |
pankso@8776 | 40 cp -a $src/chroot-scripts $fs/usr/lib/slitaz/chroot-scripts/tazwok |
slaxemulator@9927 | 41 # Build bot for tazwok |
slaxemulator@9927 | 42 cp -a $src/examples/tazbb $fs/usr/bin |
pankso@10 | 43 } |