wok view gtkpod/receipt @ rev 24742

updated libffcall (2.2 -> 2.4)
author Hans-G?nter Theisgen
date Wed Mar 16 10:31:26 2022 +0100 (2022-03-16)
parents e3f377fbc5f0
children 870e1ce31226
line source
1 # SliTaz package receipt.
3 PACKAGE="gtkpod"
4 VERSION="1.0.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="platform independent GUI for Apple's iPod using GTK2"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gtkpod.org/wiki/Home"
11 WGET_URL="$SF_MIRROR/gtkpod/$TARBALL"
13 DEPENDS="libgpod libid3tag flac libvorbis curl libglade hal"
14 BUILD_DEPENDS="flex libgpod-dev libid3tag-dev flac-dev libvorbis-dev curl curl-dev libglade-dev intltool libplist-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/gtkpod/files/gtkpod/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/gtkpod-||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 ./configure --prefix=/usr $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/$PACKAGE/icons/hicolor $fs/usr/share/pixmaps
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/$PACKAGE/data $fs/usr/share/$PACKAGE
39 cp -a $install/usr/share/$PACKAGE/scripts $fs/usr/share/$PACKAGE
40 cp -a $install/usr/share/$PACKAGE/icons/hicolor/16x16 \
41 $fs/usr/share/$PACKAGE/icons/hicolor
42 cp $install/usr/share/icons/hicolor/48x48/apps/gtkpod.png \
43 $fs/usr/share/pixmaps/gtkpod.png
44 }