wok annotate tazinst/receipt @ rev 14826
Up: xfce4-session* (4.10.0)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Jul 17 13:51:45 2013 +0200 (2013-07-17) |
parents | 957a43e24682 |
children | 10e6c72b2c15 |
rev | line source |
---|---|
domcox@14055 | 1 # SliTaz package receipt. |
domcox@14055 | 2 |
domcox@14055 | 3 PACKAGE="tazinst" |
domcox@14055 | 4 VERSION="3.90" |
domcox@14055 | 5 CATEGORY="base-system" |
domcox@14055 | 6 SHORT_DESC="SliTaz installer." |
domcox@14055 | 7 MAINTAINER="domcox@slitaz.org" |
domcox@14057 | 8 DEPENDS="util-linux-blkid lzma parted" |
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" |
domcox@14055 | 14 |
domcox@14055 | 15 # Rules to configure and make the package. |
domcox@14055 | 16 compile_rules() |
domcox@14055 | 17 { |
domcox@14055 | 18 cd $src && make && |
domcox@14055 | 19 make DESTDIR=$DESTDIR install |
domcox@14055 | 20 } |
domcox@14055 | 21 |
domcox@14055 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@14055 | 23 # |
domcox@14055 | 24 genpkg_rules() |
domcox@14055 | 25 { |
domcox@14055 | 26 mkdir -p $fs/usr/share |
domcox@14055 | 27 cp -a $install/etc $fs |
domcox@14055 | 28 cp -a $install/usr/sbin $fs/usr |
domcox@14055 | 29 cp -a $install/usr/share/doc $fs/usr/share |
domcox@14055 | 30 cp -a $install/usr/share/locale $fs/usr/share |
domcox@14055 | 31 chmod 0644 $fs/usr/share/locale/*/*/*.mo |
domcox@14055 | 32 chown -R root.root $fs |
domcox@14055 | 33 # remove tazinst-gui locales |
domcox@14055 | 34 cd $fs/usr/share/locale |
domcox@14055 | 35 for lang in *; do |
domcox@14055 | 36 rm -f $lang/*/installer.mo |
domcox@14055 | 37 done |
domcox@14055 | 38 } |