wok view tazinst/receipt @ rev 19699
bash: patches in SOURCES_REPOSITORY
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 14 09:37:31 2017 +0100 (2017-02-14) |
parents | 429a73e5062c |
children | ec4bc374aea9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tazinst"
4 VERSION="86"
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"
16 SUGGESTED="tazpanel"
17 SIBLINGS="tazinst-gui"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 make &&
23 make DESTDIR=$DESTDIR VERSION=$VERSION install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 #
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $install/etc $fs
32 cp -a $install/usr/sbin $fs/usr
33 cp -a $install/usr/share/doc $fs/usr/share
34 cp -a $install/usr/share/locale $fs/usr/share
35 chmod 0644 $fs/usr/share/locale/*/*/*.mo
36 chown -R root.root $fs
37 # remove tazinst-gui locales
38 cd $fs/usr/share/locale
39 for lang in *; do
40 rm -f $lang/*/installer.mo
41 done
42 }