[csw-devel] SF.net SVN: gar:[5014] csw/mgar/pkg/liblasi/trunk
ellson at users.sourceforge.net
ellson at users.sourceforge.net
Fri May 22 20:32:07 CEST 2009
Revision: 5014
http://gar.svn.sourceforge.net/gar/?rev=5014&view=rev
Author: ellson
Date: 2009-05-22 18:32:06 +0000 (Fri, 22 May 2009)
Log Message:
-----------
first working Makefile
Modified Paths:
--------------
csw/mgar/pkg/liblasi/trunk/Makefile
csw/mgar/pkg/liblasi/trunk/checksums
Modified: csw/mgar/pkg/liblasi/trunk/Makefile
===================================================================
--- csw/mgar/pkg/liblasi/trunk/Makefile 2009-05-22 17:58:19 UTC (rev 5013)
+++ csw/mgar/pkg/liblasi/trunk/Makefile 2009-05-22 18:32:06 UTC (rev 5014)
@@ -1,7 +1,9 @@
-GARNAME = libLASi
+GARNAME = liblasi
GARVERSION = 1.1.0
CATEGORIES = lib
+SOURCENAME = libLASi
+
DESCRIPTION = C++ Unicode support for PostScript
define BLURB
libLASi is a library written by Larry Siden that provides a C++ stream output
@@ -21,16 +23,47 @@
endef
MASTER_SITES = $(SF_MIRRORS)
-DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
+DISTFILES = $(SOURCENAME)-$(GARVERSION).tar.gz
+REQUIRED_PKGS = CSWftype2 CSWgcc3corert CSWgcc3g++ CSWggettextrt CSWglib2 CSWpango CSWzlib
+
+CONFIGURE_SCRIPTS = custom
+BUILD_SCRIPTS = custom
+TEST_SCRIPTS = custom
+INSTALL_SCRIPTS = custom
+
# We define upstream file regex so we can be notifed of new upstream software release
-UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
+UFILES_REGEX = $(SOURCENAME)-(\d+(?:\.\d+)*).tar.gz
# If the url used to check for software update is different of MASTER_SITES, then
# uncomment the next line. Otherwise it is set by default to the value of MASTER_SITES
# 187113 is the group_id for the liblasi project on sourceforge
UPSTREAM_MASTER_SITES = $(SF_PROJECT_SHOWFILE) = 187113
-CONFIGURE_ARGS = $(DIRPATHS)
+include gar/category.mk
-include gar/category.mk
+WORKSRC = $(WORKDIR)/$(SOURCENAME)-$(GARVERSION)
+
+configure-custom:
+ @echo " ==> Configuring $(GARNAME) (custom)"
+ @( cd $(WORKSRC) ; \
+ CXX=/opt/csw/gcc4/bin/g++ \
+ cmake -DCMAKE_INSTALL_PREFIX=/opt/csw \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ . )
+ @$(MAKECOOKIE)
+
+build-custom:
+ @echo " ==> Building $(GARNAME) (custom)"
+ @( cd $(WORKSRC) ; gmake )
+ @$(MAKECOOKIE)
+
+test-custom:
+ @echo " ==> Testing $(GARNAME) (custom)"
+ @( cd $(WORKSRC) ; gmake test)
+ @$(MAKECOOKIE)
+
+install-custom:
+ @echo " ==> Installing $(GARNAME) (custom)"
+ @( cd $(WORKSRC) ; gmake install DESTDIR=$(DESTDIR) )
+ @$(MAKECOOKIE)
Modified: csw/mgar/pkg/liblasi/trunk/checksums
===================================================================
--- csw/mgar/pkg/liblasi/trunk/checksums 2009-05-22 17:58:19 UTC (rev 5013)
+++ csw/mgar/pkg/liblasi/trunk/checksums 2009-05-22 18:32:06 UTC (rev 5014)
@@ -0,0 +1 @@
+f18091569ed4fface75453b097c67459 download/libLASi-1.1.0.tar.gz
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