wok view cpige/receipt @ rev 20771

cpige: add man page for cook.slitaz.org
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 13 16:56:42 2019 +0100 (21 months ago)
parents e87d1c820fff
children d8cc3407c851
line source
1 # SliTaz package receipt.
3 PACKAGE="cpige"
4 VERSION="1.5"
5 CATEGORY="multimedia"
6 TAGS="audio stream"
7 SHORT_DESC="A shoutcast and icecast stream downloader"
8 MAINTAINER="devel@slitaz.org"
9 LICENSE="GNU/GPL v2"
10 WEB_SITE="http://old.ed.zehome.com/?page=cpige-en"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://old.ed.zehome.com/$PACKAGE/$TARBALL"
15 DEPENDS="gtk+"
16 BUILD_DEPENDS="gdk-pixbuf-dev gettext-tools gtk+-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
23 # build CLI program
24 make clean &&
25 make
27 # build GUI program
28 cd gui
29 sed -i 's/gdk-2.0/gdk-pixbuf-2.0/' configure
30 ./configure &&
31 make
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/bin
38 cp -a $src/cpige $fs/usr/bin
39 cp -a $src/gui/cpigeGUI $fs/usr/bin
41 mkdir -p $fs/usr/share/doc/cpige $install/usr/share/man
42 cp -a $src/cpige.conf.example $fs/usr/share/doc/cpige
43 cp -a $src/cpige.1.gz $install/usr/share/man
45 # Because there is no label msgfmt in Makefile:
46 mkdir -p $fs/usr/share/locale/fr/LC_MESSAGES
47 # only french texts available
48 msgfmt -o $fs/usr/share/locale/fr/LC_MESSAGES/cpige.mo \
49 $src/gui/cpige-fr.po
51 mkdir -p $fs/usr/share/icons/SliTaz/apps/22
52 cp $src/gui/cpigeGUI.ico $fs/usr/share/icons/SliTaz/apps/22
54 mkdir -p $fs/usr/share/applications
55 cp $stuff/cpige.desktop $fs/usr/share/applications
57 }