binutils: update to 2.43.1
[openadk.git] / package / id3lib / Makefile
blobbac03865d71d8306447ea3dcb9692308d39fd2f1
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:= id3lib
7 PKG_VERSION:= 3.8.3
8 PKG_RELEASE:= 2
9 PKG_HASH:= 2749cc3c0cd7280b299518b1ddf5a5bcfe2d1100614519b68702230e26c7d079
10 PKG_DESCR:= id3 tagging library
11 PKG_SECTION:= libs/audio
12 PKG_DEPENDS:= zlib
13 PKG_BUILDDEP:= zlib
14 PKG_NEEDS:= c++
15 PKG_URL:= http://id3lib.sourceforge.net/
16 PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=id3lib/}
17 PKG_OPTS:= dev
19 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
21 include ${ADK_TOPDIR}/mk/package.mk
23 $(eval $(call PKG_template,ID3LIB,id3lib,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
25 TARGET_CFLAGS+= -fPIC
26 TARGET_LDFLAGS+= -shared
27 CONFIGURE_ARGS+= --enable-cxx-warnings=no
29 ifeq ($(ADK_TARGET_USE_SSP),y)
30 LIBRARIES+= -lssp -fstack-protector
31 endif
33 id3lib-install:
34 ${INSTALL_DIR} ${IDIR_ID3LIB}/usr/lib
35 ${CP} ${WRKINST}/usr/lib/libid3-*.so* ${IDIR_ID3LIB}/usr/lib/
37 include ${ADK_TOPDIR}/mk/pkg-bottom.mk