wok diff cpige/receipt @ rev 20766

updated calcurse (2.9.2 -> 4.3.0)
author Hans-G?nter Theisgen
date Wed Feb 13 15:51:48 2019 +0100 (2019-02-13)
parents
children 02994416f017
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cpige/receipt	Wed Feb 13 15:51:48 2019 +0100
     1.3 @@ -0,0 +1,57 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="cpige"
     1.7 +VERSION="1.5"
     1.8 +CATEGORY="multimedia"
     1.9 +TAGS="audio stream"
    1.10 +SHORT_DESC="A shoutcast and icecast stream downloader"
    1.11 +MAINTAINER="devel@slitaz.org"
    1.12 +LICENSE="GNU/GPL v2"
    1.13 +WEB_SITE="http://old.ed.zehome.com/?page=cpige-en"
    1.14 +
    1.15 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 +WGET_URL="http://old.ed.zehome.com/$PACKAGE/$TARBALL"
    1.17 +
    1.18 +DEPENDS="gtk+"
    1.19 +BUILD_DEPENDS="gdk-pixbuf-dev gettext-tools gtk+-dev"
    1.20 +
    1.21 +
    1.22 +# Rules to configure and make the package.
    1.23 +compile_rules()
    1.24 +{
    1.25 +
    1.26 +	# build CLI program
    1.27 +	make clean &&
    1.28 +	make
    1.29 +
    1.30 +	# build GUI program
    1.31 +	cd gui
    1.32 +	sed -i 's/gdk-2.0/gdk-pixbuf-2.0/' configure
    1.33 +	./configure &&
    1.34 +	make
    1.35 +}
    1.36 +
    1.37 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 +genpkg_rules()
    1.39 +{
    1.40 +	mkdir -p $fs/usr/bin
    1.41 +	cp -a $src/cpige $fs/usr/bin
    1.42 +	cp -a $src/gui/cpigeGUI $fs/usr/bin
    1.43 +
    1.44 +	mkdir -p $fs/usr/share/doc/cpige
    1.45 +	cp -a $src/cpige.conf.example $fs/usr/share/doc/cpige
    1.46 +#	cp -a $src/cpige.1.gz $fs/usr/share/doc/cpige
    1.47 +
    1.48 +	# Because there is no label msgfmt in Makefile:
    1.49 +	mkdir -p $fs/usr/share/locale/fr/LC_MESSAGES
    1.50 +	# only french texts available
    1.51 +	msgfmt -o $fs/usr/share/locale/fr/LC_MESSAGES/cpige.mo \
    1.52 +		$src/gui/cpige-fr.po
    1.53 +
    1.54 +	mkdir -p $fs/usr/share/icons/SliTaz/apps/22
    1.55 +	cp $src/gui/cpigeGUI.ico $fs/usr/share/icons/SliTaz/apps/22
    1.56 +
    1.57 +	mkdir -p $fs/usr/share/applications
    1.58 +	cp $stuff/cpige.desktop $fs/usr/share/applications
    1.59 +
    1.60 +}