wok-6.x annotate tazinst/receipt @ rev 19488
Update SliTaz projects: slitaz-base-files (312), slitaz-configs (295), slitaz-doc (158), slitaz-tools (1004), tazinst (83), tazlito (439), tazpanel (606), tazpkg (927), tazusb (192), tazweb (172).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 12 13:09:26 2016 +0200 (2016-11-12) |
parents | dd299a20bd7b |
children | 429a73e5062c |
rev | line source |
---|---|
domcox@14055 | 1 # SliTaz package receipt. |
domcox@14055 | 2 |
domcox@14055 | 3 PACKAGE="tazinst" |
al@19488 | 4 VERSION="83" |
domcox@14055 | 5 CATEGORY="base-system" |
al@18235 | 6 SHORT_DESC="SliTaz installer" |
domcox@14055 | 7 MAINTAINER="domcox@slitaz.org" |
pascal@15021 | 8 LICENSE="GPL3" |
domcox@14055 | 9 SUGGESTED="syslinux syslinux-extra syslinux-modules grub4dos-linux" |
domcox@14055 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
domcox@14055 | 11 WEB_SITE="http://www.slitaz.org/" |
domcox@14055 | 12 WGET_URL="http://hg.slitaz.org/tazinst/archive/$VERSION.tar.bz2" |
domcox@14055 | 13 TAGS="slitaz" |
al@19412 | 14 SIBLINGS="tazinst-gui" |
domcox@14055 | 15 |
pascal@15021 | 16 DEPENDS="util-linux-blkid lzma parted" |
pascal@18015 | 17 SUGGESTED="tazpanel" |
pascal@15021 | 18 |
domcox@14055 | 19 # Rules to configure and make the package. |
domcox@14055 | 20 compile_rules() |
domcox@14055 | 21 { |
al@18235 | 22 make && |
pascal@17431 | 23 make DESTDIR=$DESTDIR VERSION=$VERSION install |
domcox@14055 | 24 } |
domcox@14055 | 25 |
domcox@14055 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@14055 | 27 # |
domcox@14055 | 28 genpkg_rules() |
domcox@14055 | 29 { |
domcox@14055 | 30 mkdir -p $fs/usr/share |
domcox@14055 | 31 cp -a $install/etc $fs |
domcox@14055 | 32 cp -a $install/usr/sbin $fs/usr |
domcox@14055 | 33 cp -a $install/usr/share/doc $fs/usr/share |
domcox@14055 | 34 cp -a $install/usr/share/locale $fs/usr/share |
domcox@14055 | 35 chmod 0644 $fs/usr/share/locale/*/*/*.mo |
domcox@14055 | 36 chown -R root.root $fs |
domcox@14055 | 37 # remove tazinst-gui locales |
domcox@14055 | 38 cd $fs/usr/share/locale |
domcox@14055 | 39 for lang in *; do |
pascal@18199 | 40 rm -f $lang/*/installer.mo |
domcox@14055 | 41 done |
domcox@14055 | 42 } |