wok-next diff tazinst/receipt @ rev 19925

libftdi: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 14 23:27:36 2017 +0200 (2017-10-14)
parents 2017cce9bab8
children d43bf7aae921
line diff
     1.1 --- a/tazinst/receipt	Tue Aug 01 03:09:08 2017 +0300
     1.2 +++ b/tazinst/receipt	Sat Oct 14 23:27:36 2017 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="tazinst"
     1.7 -VERSION="89"
     1.8 +VERSION="91"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="SliTaz installer"
    1.11  MAINTAINER="domcox@slitaz.org"
    1.12 @@ -12,32 +12,30 @@
    1.13  WGET_URL="http://hg.slitaz.org/tazinst/archive/$VERSION.tar.bz2"
    1.14  
    1.15  BUILD_DEPENDS="gettext"
    1.16 -SIBLINGS="tazinst-gui"
    1.17 +SPLIT="tazinst-gui tazinst"
    1.18  
    1.19 -# Rules to configure and make the package.
    1.20 -compile_rules()
    1.21 -{
    1.22 +compile_rules() {
    1.23 +	sed -i 's| = |=|' $src/applications/tazinst.desktop
    1.24 +
    1.25  	make &&
    1.26  	make DESTDIR=$DESTDIR VERSION=$VERSION install
    1.27  }
    1.28  
    1.29 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 -#
    1.31 -genpkg_rules()
    1.32 -{
    1.33 -	mkdir -p $fs/usr/share
    1.34 -	cp -a $install/etc $fs
    1.35 -	cp -a $install/usr/sbin $fs/usr
    1.36 -	cp -a $install/usr/share/doc $fs/usr/share
    1.37 -	cp -a $install/usr/share/locale $fs/usr/share
    1.38 -	chmod 0644 $fs/usr/share/locale/*/*/*.mo
    1.39 -	chown -R root.root $fs
    1.40 -	# remove tazinst-gui locales
    1.41 -	cd $fs/usr/share/locale
    1.42 -	for lang in *; do
    1.43 -		rm -f $lang/*/installer.mo
    1.44 -	done
    1.45 -	DEPENDS="util-linux-blkid lzma parted"
    1.46 -	SUGGESTED="syslinux syslinux-extra syslinux-modules grub4dos-linux tazpanel"
    1.47 +genpkg_rules() {
    1.48  	TAGS="slitaz"
    1.49 +	case $PACKAGE in
    1.50 +		tazinst-gui)
    1.51 +			copy *.cgi *.desktop installer.mo
    1.52 +			CAT="base-system|GUI frontend"
    1.53 +			DEPENDS="tazpanel tazinst syslinux syslinux-extra"
    1.54 +			;;
    1.55 +		tazinst)
    1.56 +			COOKOPTS="!menus"
    1.57 +			copy @std *.mo doc/
    1.58 +			remove_already_packed
    1.59 +			DEPENDS="util-linux-blkid lzma parted"
    1.60 +			SUGGESTED="syslinux syslinux-extra syslinux-modules grub4dos-linux \
    1.61 +			tazpanel"
    1.62 +			;;
    1.63 +	esac
    1.64  }