wok-current annotate gtkpod/receipt @ rev 24906

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