Jelajahi Sumber

libtiff: add host-package

Waldemar Brodkorb 1 tahun lalu
induk
melakukan
fa29c42b9c
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  1. 3 0
      package/libtiff/Makefile

+ 3 - 0
package/libtiff/Makefile

@@ -18,12 +18,15 @@ PKG_OPTS:=		dev
 
 DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz
 
+include ${ADK_TOPDIR}/mk/host.mk
 include ${ADK_TOPDIR}/mk/package.mk
 
+$(eval $(call HOST_template,LIBTIFF,libtiff,${PKG_VERSION}-${PKG_RELEASE}))
 $(eval $(call PKG_template,LIBTIFF,libtiff,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
 
 libtiff-install:
 	${INSTALL_DIR} ${IDIR_LIBTIFF}/usr/lib
 	${CP} ${WRKINST}/usr/lib/libtiff.so* ${IDIR_LIBTIFF}/usr/lib/
 
+include ${ADK_TOPDIR}/mk/host-bottom.mk
 include ${ADK_TOPDIR}/mk/pkg-bottom.mk