wok-current view asunder/receipt @ rev 24066

Add some current_version()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 05 15:00:07 2021 +0000 (2021-07-05)
parents 5a9e035fe7d2
children 41a5254285d8
line source
1 # SliTaz package receipt.
3 PACKAGE="asunder"
4 VERSION="2.9.5"
5 CATEGORY="multimedia"
6 TAGS="audio rip"
7 SHORT_DESC="GTK light CD ripper."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://littlesvr.ca/asunder/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$WEB_SITE/releases/$TARBALL"
15 SUGGESTED="lame flac"
16 DEPENDS="alsa-lib cdparanoia-III gtk+ libcddb vorbis-tools
17 xorg-libXdamage"
18 BUILD_DEPENDS="alsa-lib-dev cdparanoia-III-dev gtk+-dev libcddb-dev
19 xorg-libXdamage-dev"
21 GENERIC_PIXMAPS="no"
22 COOKOPTS="!pixmaps"
24 current_version()
25 {
26 wget -O - ${WEB_SITE}downloads.php 2>/dev/null | \
27 sed '/asunder-/!d;s|.*asunder-||;s|.tar.*||;q'
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 ./configure \
34 --prefix=/usr \
35 $CONFIGURE_ARGS &&
36 make &&
37 make DESTDIR=$DESTDIR install || return 1
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr
44 cp -a $install/usr/bin $fs/usr
45 }