[csw-devel] SF.net SVN: gar:[16680] csw/mgar/pkg
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Wed Jan 4 16:34:40 CET 2012
Revision: 16680
http://gar.svn.sourceforge.net/gar/?rev=16680&view=rev
Author: dmichelsen
Date: 2012-01-04 15:34:39 +0000 (Wed, 04 Jan 2012)
Log Message:
-----------
jbigkit: Initial commit
Added Paths:
-----------
csw/mgar/pkg/jbigkit/
csw/mgar/pkg/jbigkit/Makefile
csw/mgar/pkg/jbigkit/branches/
csw/mgar/pkg/jbigkit/tags/
csw/mgar/pkg/jbigkit/trunk/
csw/mgar/pkg/jbigkit/trunk/Makefile
csw/mgar/pkg/jbigkit/trunk/checksums
csw/mgar/pkg/jbigkit/trunk/files/
Added: csw/mgar/pkg/jbigkit/Makefile
===================================================================
--- csw/mgar/pkg/jbigkit/Makefile (rev 0)
+++ csw/mgar/pkg/jbigkit/Makefile 2012-01-04 15:34:39 UTC (rev 16680)
@@ -0,0 +1,2 @@
+%:
+ $(MAKE) -C trunk $*
Property changes on: csw/mgar/pkg/jbigkit/trunk
___________________________________________________________________
Added: svn:ignore
+ cookies
download
work
Added: csw/mgar/pkg/jbigkit/trunk/Makefile
===================================================================
--- csw/mgar/pkg/jbigkit/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/jbigkit/trunk/Makefile 2012-01-04 15:34:39 UTC (rev 16680)
@@ -0,0 +1,68 @@
+# $Id$
+# TODO (release-critical prefixed with !, non release-critical with *)
+#
+NAME = jbigkit
+VERSION = 2.0
+GARTYPE = v2
+CATEGORIES = lib
+
+DESCRIPTION = JBIG kit, a data compression algorithm for bi-level high-resolution images
+define BLURB
+endef
+
+MASTER_SITES = http://www.cl.cam.ac.uk/~mgk25/download/
+DISTFILES += $(NAME)-$(VERSION).tar.gz
+DISTNAME = $(NAME)
+
+VENDOR_URL = http://www.cl.cam.ac.uk/~mgk25/jbigkit/
+
+PACKAGES += CSWlibjbig2
+SPKG_DESC_CSWlibjbig2 = A data compression library for bi-level high-resolution images, libjbig.so.2
+PKGFILES_CSWlibjbig2 += $(call pkgfiles_lib,libjbig.so.2)
+
+PACKAGES += CSWlibjbig-dev
+SPKG_DESC_CSWlibjbig-dev = Development files for libjbig.so.2
+PKGFILES_CSWlibjbig-dev += $(PKGFILES_DEVEL)
+RUNTIME_DEP_PKGS_CSWlibjbig-dev += CSWlibjbig2
+
+PACKAGES += CSWjbigkit
+SPKG_DESC_CSWjbigkit = JBIG kit, a data compression algorithm for bi-level high-resolution images
+# PKGFILES is catchall
+# This is a legacy dependency, the binaries are statically linked against libjbig
+RUNTIME_DEP_PKGS_CSWjbigkit += CSWlibjbig2
+CHECKPKG_OVERRIDES_CSWjbigkit += surplus-dependency|CSWlibjbig2
+
+BUILD64 = 1
+ISAEXEC = 1
+
+REINPLACEMENTS += gmake
+REINPLACE_MATCH_gmake = make
+REINPLACE_WITH_gmake = gmake
+REINPLACE_FILES_gmake += Makefile
+REINPLACE_FILES_gmake += pbmtools/Makefile
+
+# There is no configure
+CONFIGURE_SCRIPTS =
+
+BUILD_OVERRIDE_VARS = CC CCFLAGS
+BUILD_OVERRIDE_VAR_CC = $(CC)
+BUILD_OVERRIDE_VAR_CCFLAGS = $(CFLAGS)
+
+TEST_TARGET = test
+
+INSTALL_SCRIPTS = custom
+
+include gar/category.mk
+
+install-custom:
+ ginstall -d $(DESTDIR)$(includedir)
+ cd $(WORKSRC)/libjbig && ginstall jbig.h jbig_ar.h $(DESTDIR)$(includedir)
+ ginstall -d $(DESTDIR)$(bindir)
+ cd $(WORKSRC)/pbmtools && ginstall jbgtopbm jbgtopbm85 pbmtojbg pbmtojbg85 $(DESTDIR)$(bindir)
+ ginstall -d $(DESTDIR)$(libdir)
+ $(CC) $(LDFLAGS) -G -h libjbig.so.2 -o $(DESTDIR)$(libdir)/libjbig.so.2.0 $(WORKSRC)/libjbig/libjbig.a
+ gln -s libjbig.so.2 $(DESTDIR)$(libdir)/libjbig.so
+ gln -s libjbig.so.2.0 $(DESTDIR)$(libdir)/libjbig.so.2
+ ginstall -d $(DESTDIR)$(mandir)/man1
+ cd $(WORKSRC)/pbmtools && ginstall *.1 $(DESTDIR)$(mandir)/man1
+ @$(MAKECOOKIE)
Property changes on: csw/mgar/pkg/jbigkit/trunk/Makefile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: csw/mgar/pkg/jbigkit/trunk/checksums
===================================================================
--- csw/mgar/pkg/jbigkit/trunk/checksums (rev 0)
+++ csw/mgar/pkg/jbigkit/trunk/checksums 2012-01-04 15:34:39 UTC (rev 16680)
@@ -0,0 +1 @@
+3dd87f605abb1a97a22dc79d8b3e8f6c jbigkit-2.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