| 123456789101112131415161718192021222324252627282930313233343536373839404142 | # This file is part of the OpenADK project. OpenADK is copyrighted# material, please see the LICENCE file in the top-level directory.include ${TOPDIR}/rules.mkPKG_NAME:=		aprPKG_VERSION:=		1.4.2PKG_RELEASE:=		1PKG_MD5SUM:=		fc80cb54f158c2674f9eeb47a1f672cdPKG_DESCR:=		Apache Portable Runtime libraryPKG_SECTION:=		libsPKG_DEPENDS:=		libpthreadPKG_URL:=		http://apr.apache.orgPKG_SITES:=		http://gd.tuwien.ac.at/infosys/servers/http/apache/dist/${PKG_NAME}/include ${TOPDIR}/mk/package.mk$(eval $(call PKG_template,APR,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))# uClibc setpgrp does not take argumentsCONFIGURE_ENV+=		ac_cv_func_setpgrp_void=yesCONFIGURE_ENV+=		ac_cv_sizeof_size_t=4CONFIGURE_ENV+=		ac_cv_sizeof_ssize_t=4CONFIGURE_ENV+=		ac_cv_file__dev_zero=yesCONFIGURE_ENV+=		apr_cv_process_shared_works=noCONFIGURE_ENV+=		ac_cv_lib_nsl_gethostbyname=noCONFIGURE_ENV+=		apr_cv_tcp_nodelay_with_cork=noCONFIGURE_ARGS+=	--with-devrandom=/dev/urandomCONFIGURE_ARGS+=	--enable-threadspost-install:	${INSTALL_DIR} ${IDIR_APR}/usr/lib	${CP} ${WRKINST}/usr/lib/libapr-1.so* ${IDIR_APR}/usr/lib/	${INSTALL_DIR} ${STAGING_DIR}/usr/share/build-1	${CP} ${WRKINST}/usr/share/build-1/* ${STAGING_DIR}/usr/share/build-1/	# we need to patch paths to get apr-util compiling	$(SED) "s,\(^installbuilddir=\"\)\(.*\),\1${STAGING_DIR}\2," \		${WRKINST}/usr/bin/apr-1-config	$(SED) "s,\(^datadir=\"\)\(.*\),\1${STAGING_DIR}\2," \		${WRKINST}/usr/bin/apr-1-configinclude ${TOPDIR}/mk/pkg-bottom.mk
 |