wok-6.x diff tazinst/receipt @ rev 14055

Add: tazinst (3.90)
author Dominique Corbex <domcox@slitaz.org>
date Wed Feb 20 09:40:42 2013 +0100 (2013-02-20)
parents
children 3c75eeccd0bf
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tazinst/receipt	Wed Feb 20 09:40:42 2013 +0100
     1.3 @@ -0,0 +1,38 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="tazinst"
     1.7 +VERSION="3.90"
     1.8 +CATEGORY="base-system"
     1.9 +SHORT_DESC="SliTaz installer."
    1.10 +MAINTAINER="domcox@slitaz.org"
    1.11 +DEPENDS="blkid lzma parted"
    1.12 +SUGGESTED="syslinux syslinux-extra syslinux-modules grub4dos-linux"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://www.slitaz.org/"
    1.15 +WGET_URL="http://hg.slitaz.org/tazinst/archive/$VERSION.tar.bz2"
    1.16 +TAGS="slitaz"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src && make &&
    1.22 +	make DESTDIR=$DESTDIR install
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +#
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	mkdir -p $fs/usr/share
    1.30 +	cp -a $install/etc $fs
    1.31 +	cp -a $install/usr/sbin $fs/usr
    1.32 +	cp -a $install/usr/share/doc $fs/usr/share
    1.33 +	cp -a $install/usr/share/locale $fs/usr/share
    1.34 +	chmod 0644 $fs/usr/share/locale/*/*/*.mo
    1.35 +	chown -R root.root $fs
    1.36 +	# remove tazinst-gui locales
    1.37 +	cd $fs/usr/share/locale
    1.38 +	for lang in *; do
    1.39 +		rm -f $lang/*/installer.mo
    1.40 +	done
    1.41 +}