[csw-devel] SF.net SVN: gar:[13835] csw/mgar/pkg/libdbi/trunk/Makefile
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Wed Mar 16 13:44:30 CET 2011
Revision: 13835
http://gar.svn.sourceforge.net/gar/?rev=13835&view=rev
Author: dmichelsen
Date: 2011-03-16 12:44:30 +0000 (Wed, 16 Mar 2011)
Log Message:
-----------
libdbi: Some restructuring and minor cleanup
Modified Paths:
--------------
csw/mgar/pkg/libdbi/trunk/Makefile
Modified: csw/mgar/pkg/libdbi/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libdbi/trunk/Makefile 2011-03-16 09:04:40 UTC (rev 13834)
+++ csw/mgar/pkg/libdbi/trunk/Makefile 2011-03-16 12:44:30 UTC (rev 13835)
@@ -16,16 +16,17 @@
# File name regex to get notifications about upstream software releases
UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
-PACKAGES = CSWlibdbi1 CSWlibdbi-devel
-
+PACKAGES += CSWlibdbi1
CATALOGNAME_CSWlibdbi1 = libdbi1
-CATALOGNAME_CSWlibdbi-devel = libdbi_devel
+SPKG_DESC_CSWlibdbi1 = A database-independent abstraction layer, libdbi.so.1
+PKGFILES_CSWlibdbi1 = $(call pkgfiles_lib,libdbi.so.1)
-SPKG_DESC_CSWlibdbi1 = $(DESCRIPTION) containing libdbi.so.1
-SPKG_DESC_CSWlibdbi-devel = Development files for libdbi
+PACKAGES += CSWlibdbi-dev
+CATALOGNAME_CSWlibdbi-dev = libdbi_dev
+SPKG_DESC_CSWlibdbi-dev = Development files for libdbi.so.1
+RUNTIME_DEP_PKGS_CSWlibdbi-dev = CSWlibdbi1
+OBSOLETES_CSWlibdbi-dev = CSWlibdbi-devel
-RUNTIME_DEP_PKGS_CSWlibdbi-devel = CSWlibdbi1
-
BUILD64 = 1
CONFIGURE_ARGS = $(DIRPATHS)
CONFIGURE_ARGS += --docdir=$(docdir)/libdbi
@@ -41,8 +42,12 @@
TEST_TARGET = check
INSTALL_OVERRIDE_VARS = docdir
-INSTALL_OVERRIDE_VAR_docdir = $(docdir)/libdbi-devel
+INSTALL_OVERRIDE_VAR_docdir = $(docdir)/libdbi_dev
-PKGFILES_CSWlibdbi1 = $(PKGFILES_RT)
+include gar/category.mk
-include gar/category.mk
+post-install-modulated:
+ perl -pi -e 's,/usr/local,$(prefix),g' \
+ $(DESTDIR)$(docdir)/libdbi_dev/programmers-guide/x276.html \
+ $(DESTDIR)$(docdir)/libdbi_dev/programmers-guide/quickstart-code.html
+ @$(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