SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gtkpod"

# SliTaz package receipt.

PACKAGE="gtkpod"
VERSION="1.0.0"
CATEGORY="multimedia"
SHORT_DESC="platform independent GUI for Apple's iPod using GTK2"
MAINTAINER="jozee@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://sourceforge.net/projects/gtkpod/"
WGET_URL="$SF_MIRROR/gtkpod/$TARBALL"

DEPENDS="libgpod libid3tag flac libvorbis curl libglade hal"
BUILD_DEPENDS="flex libgpod-dev libid3tag-dev flac-dev libvorbis-dev curl curl-dev libglade-dev intltool libplist-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/gtkpod/files/gtkpod/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/gtkpod-||;s|.tar.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure --prefix=/usr $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share/$PACKAGE/icons/hicolor $fs/usr/share/pixmaps
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/share/$PACKAGE/data  $fs/usr/share/$PACKAGE 
    cp -a $install/usr/share/$PACKAGE/scripts  $fs/usr/share/$PACKAGE 
    cp -a $install/usr/share/$PACKAGE/icons/hicolor/16x16 \
        $fs/usr/share/$PACKAGE/icons/hicolor
    cp $install/usr/share/icons/hicolor/48x48/apps/gtkpod.png \
        $fs/usr/share/pixmaps/gtkpod.png
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)