35 lines
775 B
Text
Executable file
35 lines
775 B
Text
Executable file
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
|
app=faad2
|
|
version=2.9.2
|
|
mversion=$(echo $version | sed 's@.@_@')
|
|
build=1sml
|
|
homepage="https://github.com/knik0/faad2"
|
|
download="https://github.com/knik0/faad2/archive/refs/tags/$mversion.tar.gz"
|
|
desc="HE, LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder"
|
|
requires="musl"
|
|
|
|
prepbuilddir() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix="" \
|
|
--disable-static
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
cp COPYING $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
013af33c9c99bb93e1686312bd4497a9700ee0d6dd0eba26fde525456e9519896a61bb4762c0127e8d22a42be2eee97b78d659f312f6b32280e12a0d36fd2a5f faad2-2.9.2.tar.lz
|
|
"
|