# SliTaz package receipt. PACKAGE="faac" VERSION="1.30" CATEGORY="multimedia" TAGS="mp4 mpeg encoder" SHORT_DESC="An open source MPEG-4 and MPEG-2 AAC encoder." MAINTAINER="paul@slitaz.org" LICENSE="GPL2" WEB_SITE="https://github.com/knik0/faac" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$SF_MIRROR/faac/$PACKAGE-${VERSION/./_}.tar.gz" DEPENDS="gcc83-lib-base" BUILD_DEPENDS="autoconf automake gcc83 libtool" # What is the latest version available today? current_version() { wget -O - $WEB_SITE/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;s|_|.|g;q' } # Rules to configure and make the package. compile_rules() { ./bootstrap && ./configure \ CC=gcc-83 \ CXX=g++-83 \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_folders bin cook_copy_files *.so* }