wok view tazinst/receipt @ rev 24783
Up apache-ant (1.10.12)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 20 12:11:06 2022 +0000 (2022-03-20) |
parents | c01e114d2800 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="tazinst"
4 VERSION="115"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz installer"
7 MAINTAINER="domcox@slitaz.org"
8 LICENSE="GPL3"
9 SUGGESTED="syslinux syslinux-extra syslinux-modules grub4dos-linux"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.slitaz.org/"
12 WGET_URL="http://hg.slitaz.org/tazinst/archive/$VERSION.tar.bz2"
13 TAGS="slitaz"
15 DEPENDS="util-linux-blkid lzma parted efibootmgr"
16 SUGGESTED="tazpanel"
17 SIBLINGS="tazinst-gui"
19 current_version()
20 {
21 wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \
22 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \
23 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 make &&
30 make DESTDIR=$DESTDIR VERSION=$VERSION install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 #
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
38 cp -a $install/etc $fs
39 cp -a $install/usr/sbin $fs/usr
40 cp -a $install/usr/share/doc $fs/usr/share
41 cp -a $install/usr/share/locale $fs/usr/share
42 chmod 0644 $fs/usr/share/locale/*/*/*.mo
43 chown -R root.root $fs
44 # remove tazinst-gui locales
45 cd $fs/usr/share/locale
46 for lang in *; do
47 rm -f $lang/*/installer.mo
48 done
49 }