wok view gtkpod/receipt @ rev 25576

Up nimrod (1.6.12)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 13 17:57:27 2023 +0000 (18 months ago)
parents ad0bc3efbf37
children 6b33f9da53d4
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="https://sourceforge.net/projects/gtkpod/"
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 }