summaryrefslogtreecommitdiff
path: root/package/libXtst/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libXtst/Makefile')
-rw-r--r--package/libXtst/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/libXtst/Makefile b/package/libXtst/Makefile
index 5a9c07704..70c7f3393 100644
--- a/package/libXtst/Makefile
+++ b/package/libXtst/Makefile
@@ -9,19 +9,24 @@ PKG_RELEASE:= 2
PKG_MD5SUM:= 8918809e47c29b44d25eb16b1586a15b
PKG_DESCR:= Xtst library
PKG_SECTION:= x11/libs
-PKG_BUILDDEP:= recordproto libXi
+PKG_BUILDDEP:= recordproto-host libXi-host libXtst-host
+PKG_BUILDDEP+= recordproto libXi
PKG_SITES:= ${MASTER_SITE_XORG}
PKG_LIBNAME:= libxtst
PKG_OPTS:= dev
+include $(TOPDIR)/mk/host.mk
include $(TOPDIR)/mk/package.mk
+$(eval $(call HOST_template,LIBXTST,libxtst,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBXTST,libxtst,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+HOST_STYLE:= auto
CONFIGURE_ARGS+= --disable-malloc0returnsnull
libxtst-install:
${INSTALL_DIR} ${IDIR_LIBXTST}/usr/lib
${CP} ${WRKINST}/usr/lib/libXtst.so* ${IDIR_LIBXTST}/usr/lib
+include ${TOPDIR}/mk/host-bottom.mk
include ${TOPDIR}/mk/pkg-bottom.mk