wok-current view asunder/receipt @ rev 25728
Merge wok for both arch and few updates
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Dec 05 08:39:45 2024 +0000 (7 weeks ago) |
parents | 3ad63c8fc2f9 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="asunder"
4 VERSION="2.9.7"
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 HOST_ARCH="i486 x86_64"
26 current_version()
27 {
28 wget -O - ${WEB_SITE}downloads.php 2>/dev/null | \
29 sed '/asunder-/!d;s|.*asunder-||;s|.tar.*||;q'
30 }
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 # Remove unknow flag for gcc 6.3.0
36 # -Wno-format-truncation -Wstringop-overflow=0 -Wno-stringop-truncation
37 patch -p1 < $stuff/asunder_gcc6.patch
39 ./configure \
40 --prefix=/usr \
41 $CONFIGURE_ARGS &&
42 make &&
43 make install DESTDIR=$DESTDIR
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr/share/applications
50 cook_copy_folders bin
51 cp -a $stuff/asunder.desktop $fs/usr/share/applications
52 }