wok annotate libgpod/receipt @ rev 25606

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