wok-current view tazinst/receipt @ rev 18002
Up: firefox-official (37.0.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 25 23:32:23 2015 +0200 (2015-04-25) |
parents | 08007dee84de |
children | 58f4bd56c8de |
line source
1 # SliTaz package receipt.
3 PACKAGE="tazinst"
4 VERSION="56"
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"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src && make &&
21 make DESTDIR=$DESTDIR VERSION=$VERSION install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 #
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share
29 cp -a $install/etc $fs
30 cp -a $install/var $fs
31 cp -a $install/usr/sbin $fs/usr
32 cp -a $install/usr/share/doc $fs/usr/share
33 cp -a $install/usr/share/locale $fs/usr/share
34 chmod 0644 $fs/usr/share/locale/*/*/*.mo
35 chown -R root.root $fs
36 # remove tazinst-gui locales
37 cd $fs/usr/share/locale
38 for lang in *; do
39 rm -f $lang/*/installer.mo
40 done
41 }