wok view cpige/receipt @ rev 23158
updated lyx, lyx-doc lyx-examples and lyx-locales (2.0.5.1 -> 2.3.4.4)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 17 13:34:46 2020 +0100 (2020-03-17) |
parents | 02994416f017 |
children | 2a0479881723 |
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="https://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 }