[csw-devel] SF.net SVN: gar:[10209] csw/mgar/pkg/apr-util/trunk/Makefile
rthurner at users.sourceforge.net
rthurner at users.sourceforge.net
Sun Jun 13 22:32:21 CEST 2010
Revision: 10209
http://gar.svn.sourceforge.net/gar/?rev=10209&view=rev
Author: rthurner
Date: 2010-06-13 20:32:20 +0000 (Sun, 13 Jun 2010)
Log Message:
-----------
apr-util: check in first version
Modified Paths:
--------------
csw/mgar/pkg/apr-util/trunk/Makefile
Modified: csw/mgar/pkg/apr-util/trunk/Makefile
===================================================================
--- csw/mgar/pkg/apr-util/trunk/Makefile 2010-06-12 18:36:09 UTC (rev 10208)
+++ csw/mgar/pkg/apr-util/trunk/Makefile 2010-06-13 20:32:20 UTC (rev 10209)
@@ -9,90 +9,19 @@
interface to underlying platform-specific implementations.
endef
-SPKG_DESC_CSWaprutil-devel = Apache Portable Runtime Utility development support
-
MASTER_SITES = http://apache.crihan.fr/dist/apr/
-MASTER_SITES += http://apache.webthing.com/database/
DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
-#DISTFILES += apr_dbd_mysql.c
-DISTFILES += $(call admfiles,CSWaprutil,depend prototype)
-DISTFILES += $(call admfiles,CSWaprutil-devel,depend prototype)
-DISTFILES += config.layout
+LICENSE = LICENSE
+RUNTIME_DEP_PKGS = CSWiconv
+
# We define upstream file regex so we can be notifed of new upstream software release
UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
-# Force use of GNU iconv
-PATCHFILES += iconv.diff
+CONFIGURE_ARGS = $(DIRPATHS)
+CONFIGURE_ARGS += --with-apr=$(prefix)/bin/apr-1-config
-# Trying to fix mysql support
-#PATCHFILES += dbd-mysql.diff
+BUILD64 = 1
+STRIP_LIBTOOL = 1
-# What version of bdb should we use?
-BDB_VERSION = 43
-
-# Allow use with bdb44
-ifeq ($(BDB_VERSION),44)
-PATCHFILES += bdb44.diff
-endif
-DEPENDS += lib/bdb$(BDB_VERSION)
-
-DEPENDS += lib/apr
-#DEPENDS += lib/expat
-#DEPENDS += lib/iconv
-#DEPENDS += server/mysql
-#DEPENDS += server/pgsql
-#DEPENDS += lib/openldap
-
-CONFIGURE_ARGS = --prefix=$(prefix)
-CONFIGURE_ARGS += --enable-layout=csw
-CONFIGURE_ARGS += --with-apr=$(bindir)/apr-config
-CONFIGURE_ARGS += --with-ldap
-CONFIGURE_ARGS += --with-dbm=db$(BDB_VERSION)
-CONFIGURE_ARGS += --with-berkeley-db=$(prefix)/bdb$(BDB_VERSION)
-CONFIGURE_ARGS += --with-pgsql=$(prefix)/postgresql
-#CONFIGURE_ARGS += --with-mysql=$(prefix)/mysql4
-CONFIGURE_ARGS += --with-sqlite2=no
-CONFIGURE_ARGS += --with-expat=$(prefix)
-CONFIGURE_ARGS += --with-iconv=$(prefix)
-
-# Extra libpath
-EXTRA_LIB += $(prefix)/bdb$(BDB_VERSION)/lib
-EXTRA_INC += $(prefix)/bdb$(BDB_VERSION)/include
-
-# Extra libpath for mysql
-#EXTRA_LIB += $(prefix)/mysql$(MYSQL_VERSION)/lib/mysql
-#EXTRA_INC += $(prefix)/mysql$(MYSQL_VERSION)/include/mysql
-
-# Tests verified: 1.2.2
-TEST_SCRIPTS =
-
include gar/category.mk
-
-# bdb requires -lnsl
-LIBS += -lnsl
-export LIBS
-
-#PRECONFIG_TARGETS = copy-layout copy-mysql-dbm autogen
-PRECONFIG_TARGETS = copy-layout
-
-pre-configure: $(PRECONFIG_TARGETS)
- $(DONADA)
- @$(MAKECOOKIE)
-
-copy-layout:
- @sed -e s,INSTALL_PREFIX,$(prefix),g \
- $(WORKDIR)/config.layout > $(WORKSRC)/config.layout
- @$(MAKECOOKIE)
-
-copy-mysql-dbm:
- @( cd $(WORKSRC) ; cp ../apr_dbd_mysql.c dbd )
-
-autogen:
- @( cd $(WORKSRC) ; autoconf )
- @$(MAKECOOKIE)
-
-post-install:
- @( cd $(DESTDIR)$(bindir) ; ln -s apu-1-config apu-config )
- @$(MAKECOOKIE)
-
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list