apr-util: clean up the package
- removes extra flags '$(FPIC)' etc., there is no good reason for them being used - stops removing aclocal.m4 and build/ltmain.sh (reason of removal of these files is not apparent anymore) - adds PKG_BUILD_PARALLEL:=1 Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
parent
40a29bf055
commit
27c4723936
1 changed files with 2 additions and 7 deletions
|
@ -18,8 +18,9 @@ PKG_MAINTAINER:=Thomas Heil <heil@terminal-consulting.de>
|
||||||
PKG_LICENSE:=Apache License
|
PKG_LICENSE:=Apache License
|
||||||
PKG_CPE_ID:=cpe:/a:apache:apr-util
|
PKG_CPE_ID:=cpe:/a:apache:apr-util
|
||||||
|
|
||||||
|
PKG_BUILD_PARALLEL:=1
|
||||||
|
|
||||||
PKG_FIXUP:=autoreconf
|
PKG_FIXUP:=autoreconf
|
||||||
PKG_REMOVE_FILES:=aclocal.m4 build/ltmain.sh
|
|
||||||
|
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
|
|
||||||
|
@ -34,9 +35,6 @@ define Package/libaprutil
|
||||||
URL:=http://apr.apache.org/
|
URL:=http://apr.apache.org/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
TARGET_CFLAGS += $(FPIC)
|
|
||||||
TARGET_CPPFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
|
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--with-pgsql=no \
|
--with-pgsql=no \
|
||||||
--with-apr="$(STAGING_DIR)/usr/bin/apr-1-config" \
|
--with-apr="$(STAGING_DIR)/usr/bin/apr-1-config" \
|
||||||
|
@ -55,9 +53,6 @@ CONFIGURE_VARS += \
|
||||||
ac_cv_path_ODBC_CONFIG= \
|
ac_cv_path_ODBC_CONFIG= \
|
||||||
APR_BUILD_DIR="$(STAGING_DIR)/usr/share/build-1"
|
APR_BUILD_DIR="$(STAGING_DIR)/usr/share/build-1"
|
||||||
|
|
||||||
MAKE_FLAGS += \
|
|
||||||
APRUTIL_LIBS="-lsqlite3 $(TARGET_LDFLAGS) -lexpat $(if $(ICONV_FULL),-liconv) -lapr-1 -luuid -lm -lcrypt"
|
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/bin $(1)/usr/include/apr-1/ $(1)/usr/lib $(1)/usr/lib/pkgconfig/
|
$(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 \
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/apu-1-config \
|
||||||
|
|
Loading…
Reference in a new issue