summaryrefslogtreecommitdiff
path: root/package/pcrepp/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-08-05 09:04:59 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-08-05 09:04:59 +0200
commit56df778d52d6aa41c812fba42ff1af07e4d1288f (patch)
tree515df6da350d7b7101a637065b789bda9c717618 /package/pcrepp/Makefile
parent4b4200ec896e555cf23ee0dd72f79721e54addcf (diff)
fix cross-compile under Darwin, better style
Diffstat (limited to 'package/pcrepp/Makefile')
-rw-r--r--package/pcrepp/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/pcrepp/Makefile b/package/pcrepp/Makefile
index 639f5ad53..ae848d3d6 100644
--- a/package/pcrepp/Makefile
+++ b/package/pcrepp/Makefile
@@ -19,15 +19,15 @@ PKG_CXX:= pcrepp
PKG_CFLINE_PCREPP:= depends on ADK_TARGET_LIB_EGLIBC || ADK_TARGET_LIB_GLIBC
DISTFILES:= pcre++-${PKG_VERSION}.tar.gz
+WRKDIST= ${WRKDIR}/pcre++-${PKG_VERSION}
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,PCREPP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-post-extract:
- mv ${WRKDIR_BASE}/w-${PKG_NAME}-${PKG_VERSION}-${PKG_RELEASE}/pcre++-${PKG_VERSION} ${WRKBUILD}
-
post-install:
- ${CP} ${WRKINST}/* ${WRKINST}/../pkg-${PKG_NAME}
+ $(INSTALL_DIR) $(IDIR_PCREPP)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libpcre++.so* \
+ $(IDIR_PCREPP)/usr/lib
include ${TOPDIR}/mk/pkg-bottom.mk