wok view libgpod/receipt @ rev 25624

Add opendkim
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 16:45:57 2023 +0000 (12 months ago)
parents 8780aef72301
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libgpod"
4 VERSION="0.8.3"
5 CATEGORY="multimedia"
6 SHORT_DESC="A shared library to access the contents of an iPod."
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/fadingred/libgpod"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/gtkpod/$TARBALL"
14 DEPENDS="gtk+ libplist libxml2 mutagen sqlite zlib"
15 BUILD_DEPENDS="$DEPENDS glib-dev intltool libffi libplist-dev \
16 libxml2-dev pkg-config pygobject sqlite-dev zlib-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/gtkpod/files/libgpod/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
23 sed '/scope="row/!d;s|.*/libgpod-||;s|.tar.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 sed 's|libplist >= 1.0|libplist-2.0 >= 2.2.0|' -i configure*
30 ./configure --prefix=/usr $CONFIGURE_ARGS &&
31 make PREFIX=/usr -j 1 &&
32 make PREFIX=/usr DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib/
40 }