[csw-devel] SF.net SVN: gar:[10001] csw/mgar/pkg/xpm/trunk
theferret at users.sourceforge.net
theferret at users.sourceforge.net
Wed May 26 20:46:13 CEST 2010
Revision: 10001
http://gar.svn.sourceforge.net/gar/?rev=10001&view=rev
Author: theferret
Date: 2010-05-26 18:46:13 +0000 (Wed, 26 May 2010)
Log Message:
-----------
xpm: standard pkg stuffs. Plus Makefile tweaks
Modified Paths:
--------------
csw/mgar/pkg/xpm/trunk/Makefile
Added Paths:
-----------
csw/mgar/pkg/xpm/trunk/copyright
csw/mgar/pkg/xpm/trunk/depend
csw/mgar/pkg/xpm/trunk/prototype
Modified: csw/mgar/pkg/xpm/trunk/Makefile
===================================================================
--- csw/mgar/pkg/xpm/trunk/Makefile 2010-05-26 17:26:48 UTC (rev 10000)
+++ csw/mgar/pkg/xpm/trunk/Makefile 2010-05-26 18:46:13 UTC (rev 10001)
@@ -1,35 +1,57 @@
#This Makefile originally generated from a template under
# pkg/TEMPLATES/createpkg
+# You will most likely have to use GNU make to use it.
+
#Uncomment one of these definitions. The -b invokation,
# is suitable for use with small packages, where you want to have a few files
# in your top level src directory. It is also suitable for
# "relocateable" packages. see the createpkg docs for more details.
#CREATEPKG=createpkg -b `pwd`
+CREATEPKG=createpkg -r `pwd`/build/*/cswstage
BUILDDIR=build/*
-CREATEPKG=createpkg -r `pwd`/build/*/cswstage
STDFILES=pkginfo copyright prototype
FILES=
-package: $(STDFILE) $(FILES)
- $(CREATEPKG)
+all: build
-build:
+build: build/.config.done
(cd $(BUILDDIR) ; \
+ $(MAKE) ; \
+ stagepkg )
+
+
+# dummy target for configure
+build/.config.done:
+ (cd $(BUILDDIR) ; \
test -f ../../patchfile.preconf && \
gpatch -p0 <../../patchfile.preconf ; \
- ./configure --prefix=/opt/csw ; \
+ ./configure --prefix=/opt/csw --enable-static=no ; \
test -f ../../patchfile.postconf && \
- gpatch -p0 <../../patchfile.postconf ; \
- $(MAKE) ; \
- cswstage )
+ gpatch -p0 <../../patchfile.postconf )
+ touch build/.config.done
-clean:
+
+# I tried depending this on $(BUILDDIR)/config.log but that didnt stick
+configure: build/.config.done
+
+package: $(STDFILE) $(FILES) build
+ $(CREATEPKG)
+
+
+
+pkgclean:
rm -f *.pkg.gz package
+clean: pkgclean
+ cd $(BUILDDIR) && make clean
+
+reallyclean: clean
+ rm -f $BUILDDIR/config.log $BUILDDIR/config.cache $BUILDDIR/config.status
+ rm -f build/.config.done
Added: csw/mgar/pkg/xpm/trunk/copyright
===================================================================
--- csw/mgar/pkg/xpm/trunk/copyright (rev 0)
+++ csw/mgar/pkg/xpm/trunk/copyright 2010-05-26 18:46:13 UTC (rev 10001)
@@ -0,0 +1,31 @@
+/*
+ * Copyright (C) 1989-95 GROUPE BULL
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to
+ * deal in the Software without restriction, including without limitation the
+ * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+ * sell copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * GROUPE BULL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+ * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ *
+ * Except as contained in this notice, the name of GROUPE BULL shall not be
+ * used in advertising or otherwise to promote the sale, use or other dealings
+ * in this Software without prior written authorization from GROUPE BULL.
+ */
+
+Arnaud LE HORS BULL Research FRANCE -- Koala Project
+ (XPM - X PixMap format version 2 & 3)
+ Internet: lehors at sophia.inria.fr
+Surface Mail: Arnaud LE HORS, INRIA - Sophia Antipolis,
+ 2004, route des Lucioles, 06565 Valbonne Cedex -- FRANCE
+ Voice phone: (33) 93.65.77.71, Fax: (33) 93 65 77 66, Telex: 97 00 50 F
Added: csw/mgar/pkg/xpm/trunk/depend
===================================================================
--- csw/mgar/pkg/xpm/trunk/depend (rev 0)
+++ csw/mgar/pkg/xpm/trunk/depend 2010-05-26 18:46:13 UTC (rev 10001)
@@ -0,0 +1 @@
+P CSWcommon
Added: csw/mgar/pkg/xpm/trunk/prototype
===================================================================
--- csw/mgar/pkg/xpm/trunk/prototype (rev 0)
+++ csw/mgar/pkg/xpm/trunk/prototype 2010-05-26 18:46:13 UTC (rev 10001)
@@ -0,0 +1,20 @@
+i pkginfo
+i copyright
+i depend
+d none /opt/csw/share 0755 root bin
+d none /opt/csw/share/man 0755 root bin
+d none /opt/csw/share/man/man1 0755 root bin
+f none /opt/csw/share/man/man1/cxpm.1 0644 root bin
+f none /opt/csw/share/man/man1/sxpm.1 0644 root bin
+d none /opt/csw/bin 0755 root bin
+f none /opt/csw/bin/sxpm 0755 root bin
+f none /opt/csw/bin/cxpm 0755 root bin
+d none /opt/csw/include 0755 root bin
+d none /opt/csw/include/X11 0755 root bin
+f none /opt/csw/include/X11/xpm.h 0644 root bin
+d none /opt/csw/lib 0755 root bin
+f none /opt/csw/lib/libXpm.so.4.11.0 0755 root bin
+s none /opt/csw/lib/libXpm.so.4=libXpm.so.4.11.0
+s none /opt/csw/lib/libXpm.so=libXpm.so.4.11.0
+d none /opt/csw/lib/pkgconfig 0755 root bin
+f none /opt/csw/lib/pkgconfig/xpm.pc 0644 root bin
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