# SliTaz package receipt. PACKAGE="asunder" VERSION="2.9.7" CATEGORY="multimedia" TAGS="audio rip" SHORT_DESC="GTK light CD ripper." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" WEB_SITE="http://littlesvr.ca/asunder/" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="$WEB_SITE/releases/$TARBALL" SUGGESTED="lame flac" DEPENDS="alsa-lib cdparanoia-III gtk+ libcddb vorbis-tools xorg-libXdamage" BUILD_DEPENDS="alsa-lib-dev cdparanoia-III-dev gtk+-dev libcddb-dev xorg-libXdamage-dev" GENERIC_PIXMAPS="no" COOKOPTS="!pixmaps" current_version() { wget -O - ${WEB_SITE}downloads.php 2>/dev/null | \ sed '/asunder-/!d;s|.*asunder-||;s|.tar.*||;q' } # Rules to configure and make the package. compile_rules() { # Remove unknow flag for gcc 6.3.0 # -Wno-format-truncation -Wstringop-overflow=0 -Wno-stringop-truncation patch -p1 < $stuff/asunder_gcc6.patch ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/applications cook_copy_folders bin cp -a $stuff/asunder.desktop $fs/usr/share/applications }