wok view libgpod/receipt @ rev 24894

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 08 10:34:41 2022 +0000 (2022-04-08)
parents 65d7d867e0c1
children 8780aef72301
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|.*href="|"https://sourceforge.net|;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 ./configure --prefix=/usr $CONFIGURE_ARGS &&
30 make PREFIX=/usr -j 1 &&
31 make PREFIX=/usr DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib/
39 }