summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2011-01-06 20:36:50 +0000
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-06 21:45:06 +0100
commit163b7e51f5dba02aa640ce933976719c7b8018d5 (patch)
tree4978d10620339a557c74265d781d5c951a6e11d6 /package
parent995996dc0123cfbb483629aa6307c180a9eeeffa (diff)
automatic post-postinstall targets, and exemplary switch of zlib to it
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'package')
-rw-r--r--package/zlib/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/package/zlib/Makefile b/package/zlib/Makefile
index 0bf048448..6270eaf37 100644
--- a/package/zlib/Makefile
+++ b/package/zlib/Makefile
@@ -27,10 +27,6 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,ZLIB,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
$(eval $(call PKG_template,ZLIB_DEV,${PKG_NAME}-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_ZLIB_DEV},${PKGSC_ZLIB_DEV}))
-SUB_INSTALLS-y:=
-SUB_INSTALLS-m:=
-SUB_INSTALLS-${ADK_PACKAGE_ZLIB_DEV}+= zlib-dev-install
-
CONFIG_STYLE:= manual
CONFIGURE_ENV+= uname=Linux
@@ -53,7 +49,7 @@ do-configure:
$(CONFIGURE_OPTS) \
);
-post-install: ${SUB_INSTALLS-m} ${SUB_INSTALLS-y}
+post-install:
${INSTALL_DIR} ${IDIR_ZLIB}/usr/lib
${CP} ${WRKBUILD}/libz.so* ${IDIR_ZLIB}/usr/lib