wok-current view tazwok/receipt @ rev 25529

created recipe for neovim-0.8.3
author Hans-G?nter Theisgen
date Sat Feb 25 14:14:14 2023 +0100 (22 months ago)
parents 1eac19b43f27
children
line source
1 # SliTaz package receipt.
3 PACKAGE="tazwok"
4 VERSION="557"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz sources and binaries packages cooker."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.slitaz.org/"
11 WGET_URL="http://hg.slitaz.org/tazwok/archive/$VERSION.tar.bz2"
12 TAGS="slitaz"
14 DEPENDS="busybox slitaz-base-files"
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 gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin $fs/usr/share/doc/tazwok \
27 $fs/etc/slitaz $fs/usr/share/slitaz/web-bb \
28 $fs/usr/lib/slitaz/chroot-scripts
29 # Copy Tazwok, doc and examples.
30 cp -a $src/tazwok $fs/usr/bin
31 chmod 755 $fs/usr/bin/tazwok
32 cp -a $src/doc/* $fs/usr/share/doc/tazwok
33 cp -a $src/applications $fs/usr/share
34 # Config file
35 cp -a $src/examples/tazwok.conf $fs/etc/slitaz
36 cp -a $src/examples/config.site $fs/etc
37 # Webserver stuff
38 cp -a $src/web/* $fs/usr/share/slitaz/web-bb
39 # Chroot scripts
40 cp -a $src/chroot-scripts $fs/usr/lib/slitaz/chroot-scripts/tazwok
41 # Build bot for tazwok
42 cp -a $src/examples/tazbb $fs/usr/bin
43 }