@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := apr-util
PKG_VERSION := 1.6.1
PKG_RELEASE := 4
PKG_RELEASE := 5
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.bz2
PKG_SOURCE_URL := @APACHE/apr/
@ -127,30 +127,26 @@ $$(eval $$(call BuildPackage,libaprutil-$(subst _,-,$(1))))
e n d e f
d e f i n e B u i l d / I n s t a l l D e v
$( INSTALL_DIR) $( 1) /usr/bin $( 1) /usr/include/apr-1/ $( 1) /usr/lib $( 1) /usr/lib/pkgconfig/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/apu-1-config \
$( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/include/apr-1/* \
$( 1) /usr/include/apr-1/
$( INSTALL_DIR) $( 1) /usr/bin $( 1) /usr/include/apr-1 \
$( 1) /usr/lib/pkgconfig
$( CP) $( PKG_INSTALL_DIR) /usr/bin/apu-1-config $( 1) /usr/bin
$( CP) $( PKG_INSTALL_DIR) /usr/include/apr-1/* $( 1) /usr/include/apr-1
i f n e q ( $( CONFIG_PACKAGE_libaprutil -crypto -openssl ) $( CONFIG_PACKAGE_libaprutil -dbd -pgsql ) $( CONFIG_PACKAGE_libaprutil -dbd -sqlite 3) $( CONFIG_PACKAGE_libaprutil -ldap ) , )
$( INSTALL_DIR) $( 1) /usr/lib/apr-util-1
$( CP) $( PKG_INSTALL_DIR) /usr/lib/apr-util-1/apr_*{ la,a,so*} \
$( 1) /usr/lib/apr-util-1
$( CP) $( PKG_INSTALL_DIR) /usr/lib/apr-util-1/apr_*{ la,a,so*} \
$( 1) /usr/lib/apr-util-1
e n d i f
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libaprutil-1.{ la,a,so*} \
$( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/pkgconfig/apr-util-1.pc \
$( 1) /usr/lib/pkgconfig/
$( SED) 's, -e \"s -I$$$$prefix/lib g\",,g' $( 1) /usr/bin/apu-1-config
$( SED) 's,^libdir=\"$$$${exec_prefix}/lib,libdir=\"$(STAGING_DIR)/usr/lib,g' $( 1) /usr/bin/apu-1-config
$( SED) 's,^includedir=\"$$$${prefix}/include/,includedir=\"$(STAGING_DIR)/usr/include/,g' $( 1) /usr/bin/apu-1-config
$( SED) 's,-L$$$$libdir,,g' $( 1) /usr/bin/apu-1-config
$( SED) 's,-R$$$$libdir,,g' $( 1) /usr/bin/apu-1-config
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libaprutil-1.{ la,a,so*} \
$( 1) /usr/lib
$( CP) $( PKG_INSTALL_DIR) /usr/lib/pkgconfig/apr-util-1.pc \
$( 1) /usr/lib/pkgconfig
$( SED) '/^prefix=\|^exec_prefix=/s|/usr|$(STAGING_DIR)/usr|' \
$( 1) /usr/bin/apu-1-config
e n d e f
d e f i n e P a c k a g e / l i b a p r u t i l / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libaprutil-1.so.* $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libaprutil-1.so.* $( 1) /usr/lib
e n d e f
$( eval $ ( call BuildPackage ,libaprutil ) )