#Packager: George Vlahavas # pkgname=faac pkgver=1.30 export _underver=`echo $pkgver | tr '.' '_'` pkgrel=1gv source=("https://github.com/knik0/faac/archive/refs/tags/${_underver}.tar.gz") url="http://www.audiocoding.com" docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "faac is an open source MPEG-4 and MPEG-2 AAC encoder" "FAAC is an open source MPEG-4 and MPEG-2 AAC encoder, it is licensed" "under the LGPL license." "Features:" " * Portable" " * Reasonably fast" " * LC, Main, LTP support" " * DRM support through DreaM" ) build() { cd $startdir/src/${pkgname}-${_underver} ./bootstrap ./configure --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --disable-static \ --with-mp4v2 || return 1 make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg }