SF.net SVN: gar:[22953] csw/mgar/pkg/lang-python/pycairo/trunk/Makefile
cgrzemba at users.sourceforge.net
cgrzemba at users.sourceforge.net
Thu Feb 6 14:05:04 CET 2014
Revision: 22953
http://sourceforge.net/p/gar/code/22953
Author: cgrzemba
Date: 2014-02-06 13:05:01 +0000 (Thu, 06 Feb 2014)
Log Message:
-----------
lang-python/pycairo/trunk: replace waf with autotools build
Modified Paths:
--------------
csw/mgar/pkg/lang-python/pycairo/trunk/Makefile
Modified: csw/mgar/pkg/lang-python/pycairo/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/pycairo/trunk/Makefile 2014-02-06 10:45:02 UTC (rev 22952)
+++ csw/mgar/pkg/lang-python/pycairo/trunk/Makefile 2014-02-06 13:05:01 UTC (rev 22953)
@@ -1,7 +1,7 @@
NAME = py2cairo
VERSION = 1.10.0
GARTYPE = v2
-CATEGORIES = python
+# CATEGORIES = python
DESCRIPTION = Python binding for Cairo library for Python2
define BLURB
@@ -13,43 +13,35 @@
# DISTFILES = pycairo-$(VERSION).tar.bz2
DISTFILES = $(DISTNAME).tar.bz2
+LICENSE = COPYING
+
PACKAGING_PLATFORMS = solaris10-i386 solaris10-sparc
-# EXTRA_MERGE_EXCLUDE_FILES = .*\.pyo .*\.pyc
+EXTRA_MERGE_EXCLUDE_FILES = .*\.pyo .*\.pyc
PACKAGES = CSWpy-cairo
SPKG_DESC_CSWpy-cairo = $(DESCRIPTION); main
OBSOLETED_BY_CSWpy-cairo = CSWpycairo
RUNTIME_DEP_PKGS_CSWpy-cairo += CSWpython
RUNTIME_DEP_PKGS_CSWpy-cairo += CSWlibcairo2
+RUNTIME_DEP_PKGS_CSWpy-cairo += CSWlibgcc-s1
+CHECKPKG_OVERRIDES_CSWpy-cairo += surplus-dependency|CSWpython
+GARCOMPILER = GCC4
+
CAIRO_LIBS = -L/opt/csw/lib -R/opt/csw/lib/\$$ISALIST -lcairo
CAIRO_CFLAGS = -I/opt/csw/include -I/opt/csw/include/cairo
EXTRA_CONFIGURE_EXPORTS += CAIRO_LIBS CAIRO_CFLAGS
-CONFIGURE_SCRIPTS = custom
-BUILD_SCRIPTS = custom
+EXTRA_CFLAGS = -D_XPG6
SKIPTEST = 1
-INSTALL_SCRIPTS = custom
CONFIGURE_ARGS = $(DIRPATHS)
include gar/category.mk
-configure-custom:
- cd $(WORKSRC) && ./waf configure --prefix=$(prefix)
+pre-configure:
+ cd $(WORKSRC) && python -c "import sys; print sys.prefix" && \
+ touch ChangeLog && \
+ autoreconf --force --install
$(MAKECOOKIE)
-
-build-custom:
- cd $(WORKSRC) && ./waf build
- $(MAKECOOKIE)
-
-install-custom:
- cd $(WORKSRC) && DESTDIR=$(DESTDIR) ./waf install
- ginstall -d $(DESTDIR)$(docdir)/$(NAME)
- ginstall -d $(DESTDIR)$(docdir)/py_cairo
- ginstall -m 644 $(WORKSRC)/COPYING $(DESTDIR)$(docdir)/$(NAME)/license
- ginstall -m 644 $(WORKSRC)/COPYING $(DESTDIR)$(docdir)/py_cairo/
- ginstall -m 644 $(WORKSRC)/COPYING-LGPL-2.1 $(DESTDIR)$(docdir)/$(NAME)
- ginstall -m 644 $(WORKSRC)/COPYING-MPL-1.1 $(DESTDIR)$(docdir)/$(NAME)
- $(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