wok view libgpod/receipt @ rev 25293

updated rust and rust-cargo (1.47.0 -> 1.62.0)
author Hans-G?nter Theisgen
date Tue Jul 19 11:14:38 2022 +0100 (2022-07-19)
parents 870e1ce31226
children d3556b8f5c3d
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 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 }