summaryrefslogtreecommitdiff
path: root/package/alsa-lib
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-23 08:12:50 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-23 08:12:50 +0100
commit2548d641ca7adfe3dcf31d09bb2f9b047b186a0f (patch)
tree8ed2357d972dbf5b69645916c23856dfad713405 /package/alsa-lib
parent053ce49e8a9588bbd729e25ab6a33f8f5190350d (diff)
remove jtools/java host dir. use host stuff instead.
fix arm building.
Diffstat (limited to 'package/alsa-lib')
-rw-r--r--package/alsa-lib/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/alsa-lib/Makefile b/package/alsa-lib/Makefile
index 10726ac09..027aa4da0 100644
--- a/package/alsa-lib/Makefile
+++ b/package/alsa-lib/Makefile
@@ -9,16 +9,20 @@ PKG_RELEASE:= 3
PKG_MD5SUM:= 69129a7c37697f81ac092335e9fa452b
PKG_DESCR:= ALSA sound library
PKG_SECTION:= libs
+PKG_BUILDDEP:= alsa-lib-host
PKG_URL:= http://www.alsa-project.org/
PKG_SITES:= ftp://ftp.alsa-project.org/pub/lib/
PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
+include ${TOPDIR}/mk/host.mk
include ${TOPDIR}/mk/package.mk
+$(eval $(call HOST_template,ALSA_LIB,alsa-lib,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,ALSA_LIB,alsa-lib,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+HOST_STYLE:= auto
TARGET_CPPFLAGS+= -D_POSIX_C_SOURCE=1
CONFIGURE_ARGS+= --disable-python
@@ -27,4 +31,5 @@ alsa-lib-install:
${CP} ${WRKINST}/usr/lib/libasound.so* ${IDIR_ALSA_LIB}/usr/lib
${CP} ${WRKINST}/usr/share/alsa/* ${IDIR_ALSA_LIB}/usr/share/alsa
+include ${TOPDIR}/mk/host-bottom.mk
include ${TOPDIR}/mk/pkg-bottom.mk