python3: update to 3.11.10
[openadk.git] / package / flac / Makefile
blobd6a89159df92a362fffbfc146c54f03fd11abac9
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
6 PKG_NAME:= flac
7 PKG_VERSION:= 1.3.4
8 PKG_RELEASE:= 1
9 PKG_HASH:= 8ff0607e75a322dd7cd6ec48f4f225471404ae2730d0ea945127b1355155e737
10 PKG_DESCR:= free lossless audio codec utility
11 PKG_SECTION:= mm/audio
12 PKG_DEPENDS:= libflac
13 PKG_URL:= https://xiph.org/flac/
14 PKG_SITES:= https://ftp.osuosl.org/pub/xiph/releases/flac/
15 PKG_LIBNAME:= libflac
16 PKG_OPTS:= dev
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 \
30 --disable-cpplibs \
31 --disable-ogg
33 flac-install:
34 ${INSTALL_DIR} ${IDIR_FLAC}/usr/bin
35 ${CP} ${WRKINST}/usr/bin/flac \
36 ${IDIR_FLAC}/usr/bin
38 libflac-install:
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