SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libgpod"

# SliTaz package receipt.

PACKAGE="libgpod"
VERSION="0.8.3"
CATEGORY="multimedia"
SHORT_DESC="A shared library to access the contents of an iPod."
MAINTAINER="jozee@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://github.com/fadingred/libgpod"

TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="$SF_MIRROR/gtkpod/$TARBALL"

DEPENDS="gtk+ libplist libxml2 mutagen sqlite zlib"
BUILD_DEPENDS="$DEPENDS glib-dev intltool libffi libplist-dev \
    libxml2-dev pkg-config pygobject sqlite-dev zlib-dev"

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

# Rules to configure and make the package.
compile_rules()
{
    sed 's|libplist >= 1.0|libplist-2.0 >= 2.2.0|' -i configure*
    ./configure --prefix=/usr $CONFIGURE_ARGS &&
    make PREFIX=/usr -j 1 &&
    make PREFIX=/usr DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib 
    cp -a $install/usr/lib/*.so* $fs/usr/lib/
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)