1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= 8ff0607e75a322dd7cd6ec48f4f225471404ae2730d0ea945127b1355155e737
10 PKG_DESCR
:= free lossless audio codec utility
11 PKG_SECTION
:= mm
/audio
13 PKG_URL
:= https
://xiph.org
/flac
/
14 PKG_SITES
:= https
://ftp.osuosl.org
/pub
/xiph
/releases
/flac
/
18 PKG_SUBPKGS
:= FLAC LIBFLAC
19 PKGSD_LIBFLAC
:= free lossless audio codec library
20 PKGSC_LIBFLAC
:= libs
/audio
22 include ${ADK_TOPDIR}/mk
/package.mk
24 $(eval
$(call PKG_template
,FLAC
,flac
,${PKG_VERSION}-${PKG_RELEASE}))
25 $(eval
$(call PKG_template
,LIBFLAC
,libflac
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
27 CONFIGURE_ARGS
+= --enable-asm-optimizations \
28 --disable-stack-smash-protection \
29 --disable-xmms-plugin \
34 ${INSTALL_DIR} ${IDIR_FLAC}/usr
/bin
35 ${CP} ${WRKINST}/usr
/bin
/flac \
39 ${INSTALL_DIR} ${IDIR_LIBFLAC}/usr
/lib
40 ${CP} ${WRKINST}/usr
/lib
/libFLAC.so
* \
41 ${IDIR_LIBFLAC}/usr
/lib
43 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk