1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

root/csw/mgar/pkg/cswutils/trunk/Makefile

Revision 16916, 3.9 KB (checked in by dmichelsen, 4 months ago)

WHOLE TREE: Explicitly set GARTYPE to current default 'v2'

  • Property svn:keywords set to Id
Line 
1# $Id$
2
3NAME = cswutils
4VERSION = 1.23
5CATEGORIES = utils
6GARTYPE = v2
7
8DESCRIPTION = Utilities for CSW maintainers
9define BLURB
10endef
11
12SVNROOT = http://opencsw.svn.sourceforge.net/svnroot/opencsw/utilities/
13SVN_REV = 364
14
15SVNROOT_gar = https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2/lib/python/
16SVN_REV_gar = HEAD
17
18MASTER_SITES =
19
20DISTFILES = COPYING
21DISTFILES += checkpkg checkpkg.8
22DISTFILES += cpan2pkg
23DISTFILES += createpkg createpkg.8
24DISTFILES += stagepkg stagepkg.8
25DISTFILES += stagepkg stagepkg.8
26
27BUILD_DEP_PKGS = CSWrsync
28
29RUNTIME_DEP_PKGS += CSWcoreutils
30RUNTIME_DEP_PKGS += CSWfakeroot
31RUNTIME_DEP_PKGS += CSWperl
32RUNTIME_DEP_PKGS += CSWpmhtmltree
33RUNTIME_DEP_PKGS += CSWpmlibwww
34RUNTIME_DEP_PKGS += CSWpmyaml
35RUNTIME_DEP_PKGS += CSWpy-cheetah
36RUNTIME_DEP_PKGS += CSWpy-hachoir-core
37RUNTIME_DEP_PKGS += CSWpy-hachoir-parser
38RUNTIME_DEP_PKGS += CSWpy-libmagic
39RUNTIME_DEP_PKGS += CSWpy-progressbar
40RUNTIME_DEP_PKGS += CSWpy-sqlobject
41RUNTIME_DEP_PKGS += CSWpy-curl
42RUNTIME_DEP_PKGS += CSWpython
43
44WORKSRC = $(WORKDIR)
45
46CONFIGURE_SCRIPTS =
47BUILD_SCRIPTS =
48TEST_SCRIPTS =
49INSTALL_SCRIPTS = custom
50
51SPKG_SOURCEURL = http://www.opencsw.org/
52
53ARCHALL = 1
54
55CHECKPKG_OVERRIDES_CSWcswutils += surplus-dependency
56CHECKPKG_OVERRIDES_CSWcswutils += pkgname-does-not-start-with-CSWpy-
57CHECKPKG_OVERRIDES_CSWcswutils += catalogname-does-not-start-with-py_
58CHECKPKG_OVERRIDES_CSWcswutils += archall-with-arch-paths|/opt/csw/share/opencsw/gar/commondirs-i386
59CHECKPKG_OVERRIDES_CSWcswutils += archall-with-arch-paths|/opt/csw/share/opencsw/gar/commondirs-sparc
60
61# possibly remove these and omit the *test* files from distribution entirely
62CHECKPKG_OVERRIDES_CSWcswutils += file-with-bad-content|/export/home|root/opt/csw/lib/python/csw/testdata/rpaths.py
63CHECKPKG_OVERRIDES_CSWcswutils += file-with-bad-content|/export/home|root/opt/csw/lib/python/csw/package_checks_test.py
64CHECKPKG_OVERRIDES_CSWcswutils += file-with-bad-content|/opt/build|root/opt/csw/lib/python/csw/testdata/rpaths.py
65CHECKPKG_OVERRIDES_CSWcswutils += file-with-bad-content|/opt/build|root/opt/csw/lib/python/csw/package_checks_test.py
66CHECKPKG_OVERRIDES_CSWcswutils += file-with-bad-content|/usr/local|root/opt/csw/lib/python/csw/package_checks_test.py
67CHECKPKG_OVERRIDES_CSWcswutils += file-with-bad-content|/usr/local|root/opt/csw/lib/python/csw/testdata/rpaths.py
68CHECKPKG_OVERRIDES_CSWcswutils += file-with-bad-content|/export/medusa|root/opt/csw/lib/python/csw/package_checks_test.py
69CHECKPKG_OVERRIDES_CSWcswutils += file-with-bad-content|/export/medusa|root/opt/csw/lib/python/csw/testdata/rpaths.py
70
71ALTERNATIVES_CSWcswutils = legacy python
72ALTERNATIVE_legacy = /opt/csw/bin/checkpkg checkpkg /opt/csw/bin/checkpkg.legacy 5
73ALTERNATIVE_python = /opt/csw/bin/checkpkg checkpkg /opt/csw/bin/checkpkg.python 10
74
75include gar/category.mk
76
77install-custom:
78        @ginstall -d $(DESTDIR)$(bindir)
79        @ginstall $(WORKSRC)/checkpkg $(DESTDIR)$(bindir)/checkpkg.legacy
80        @ginstall $(WORKSRC)/cpan2pkg $(DESTDIR)$(bindir)
81        @ginstall $(WORKSRC)/createpkg $(DESTDIR)$(bindir)
82        @ginstall $(WORKSRC)/stagepkg $(DESTDIR)$(bindir)
83        @ginstall $(GARDIR)/bin/fixlibtool $(DESTDIR)$(bindir)
84        @ginstall -d $(DESTDIR)$(mandir)/man8
85        @ginstall $(WORKSRC)/checkpkg.8 $(DESTDIR)$(mandir)/man8/
86        @ginstall $(WORKSRC)/createpkg.8 $(DESTDIR)$(mandir)/man8/
87        @ginstall $(WORKSRC)/stagepkg.8 $(DESTDIR)$(mandir)/man8/
88        @ginstall -d $(DESTDIR)$(libdir)/python/csw
89        @ginstall -d $(DESTDIR)$(datadir)/opencsw/gar
90        @ginstall -m 0644 $(GARDIR)/etc/commondirs* $(DESTDIR)/$(datadir)/opencsw/gar/
91        @rsync -av --exclude=.svn/ --exclude='*.pyc' $(GARDIR)/lib/python/ \
92                $(DESTDIR)/$(libdir)/python/csw/
93        @ln -s ../lib/python/csw/compare_pkgs.py \
94                $(DESTDIR)$(bindir)/comparepkg
95        @ln -s ../lib/python/csw/csw_upload_pkg.py \
96                $(DESTDIR)$(bindir)/csw-upload-pkg
97        @ln -s ../lib/python/csw/checkpkg2.py \
98                $(DESTDIR)$(bindir)/checkpkg.python
99        @ln -s ../lib/python/csw/pkgdb.py \
100                $(DESTDIR)$(bindir)/pkgdb
101        @$(MAKECOOKIE)
Note: See TracBrowser for help on using the browser.