wok-current view tazpanel-extra/receipt @ rev 25672
patch tazpkg, upgrade core pkgs first
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Mar 03 17:58:42 2024 +0000 (5 months ago) |
parents | 7e911016a644 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="tazpanel-extra"
4 VERSION="638"
5 CATEGORY="system-tools"
6 SHORT_DESC="SliTaz administration and configuration panel extra modules."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.slitaz.org/"
11 WGET_URL="http://hg.slitaz.org/tazpanel/archive/$VERSION.tar.gz"
12 HOST_ARCH="i486"
14 DEPENDS="tazpanel"
15 SIBLINGS="tazpanel"
17 current_version()
18 {
19 wget -O - http://hg.slitaz.org/tazpanel/ 2>/dev/null | \
20 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/tazpanel/rev/|;s|<.*||' | \
21 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 make && make DESTDIR=$DESTDIR VERSION=$VERSION install_extra
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/* $fs
34 }
36 post_install()
37 {
38 rm -f "$1"/var/cache/tazpanel/* 2> /dev/null || true
39 }