wok annotate libgpod/receipt @ rev 24889
grub2: sed command corrected
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 02 17:34:21 2022 +0100 (2022-04-02) |
parents | 7f9039b62d95 |
children | 870e1ce31226 |
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@14714 | 9 WEB_SITE="http://www.gtkpod.org/libgpod.html" |
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@24411 | 22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;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 { |
gokhlayeh@11573 | 29 ./configure --prefix=/usr $CONFIGURE_ARGS && |
Hans-G?nter@21227 | 30 make PREFIX=/usr -j 1 && |
pascal@14714 | 31 make PREFIX=/usr DESTDIR=$DESTDIR install |
jozee@2858 | 32 } |
jozee@2858 | 33 |
jozee@2858 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2858 | 35 genpkg_rules() |
jozee@2858 | 36 { |
jozee@2858 | 37 mkdir -p $fs/usr/lib |
pascal@14714 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib/ |
jozee@2858 | 39 } |