wok-6.x rev 20748
created package cpige 1.5
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 11 15:42:12 2019 +0100 (2019-02-11) |
parents | 6f2188ee6be5 |
children | 893245dd56c6 |
files | cpige/receipt cpige/stuff/cpige.desktop |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/cpige/receipt Mon Feb 11 15:42:12 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 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/cpige/stuff/cpige.desktop Mon Feb 11 15:42:12 2019 +0100 2.3 @@ -0,0 +1,11 @@ 2.4 +[Desktop Entry] 2.5 +Type=Application 2.6 +Name=cPige Audio Stream Downloader 2.7 +Name[fr]=récupération de stream Radio cPige 2.8 +Comment=Shoutcast and Icecast audio stream downloader 2.9 +Comment[fr]=récupération de stream Radio Shoutcast et Icecast 2.10 +Exec=cpigeGUI 2.11 +Terminal=false 2.12 +Icon=cpigeGUI 2.13 +Categories=Multimedia; 2.14 +MimeType=audio/x-scpls;audio/x-mpegurl;audio/mpegurl;audio/mp3;audio/x-mp3;audio/mpeg;audio/x-mpeg;audio/x-wav;audio/ogg+vorbis;audio/ogg;application/flac;