source: main/trunk/package-kits/linux/packages/greenstone@ 29595

Last change on this file since 29595 was 29595, checked in by Jeremy Symon, 9 years ago

Modifying package generation to use sub-packages in order to avoid compiling the same source multiple times. Currently works for Pacman. Needs testing (and fixing) for other package managers.

File size: 2.2 KB
Line 
1SVN_LOCATION: http://svn.greenstone.org/main/trunk/greenstone3
2NAME: greenstone
3VERSION: 3.06
4RELEASE: 1
5HOMEPAGE: http://greenstone.org
6LICENSE_SHORT: GPL-2
7LICENSE:
8SOURCES:
9 build.properties
10 greenstone3.xml
11 greenstone
12 wvWare
13 gs2build.patch
14 servlets.patch
15 gsdl3site.cfg.patch
16 global.properties.patch
17
18MAKEFILE:
19 base
20 src
21 clean
22 build-core
23 main
24 native
25 tools
26
27MAKEDEPENDS:
28 %PKG_JAVA_JDK%
29 %PKG_SVN%
30 %PKG_ANT%
31 %PKG_PATCH%
32 %PKG_AUTOCONF%
33 %PKG_GCC%
34 %PKG_MAKE%
35 %PKG_RSYNC%
36
37SUB_PACKAGES:
38 NATIVE
39 TOOLS
40 MAIN
41
42NATIVE_NAME: %PKG_GREENSTONE_NATIVE%
43NATIVE_DESCRIPTION_SHORT: 'Native libraries for Greenstone'
44NATIVE_DESCRIPTION: 'Architecture-dependent binary files required by the core Greenstone package'
45NATIVE_ARCHITECTURE: %ARCH%
46
47NATIVE_DEPENDS:
48
49NATIVE_OPTDEPENDS:
50
51NATIVE_PROVIDES:
52
53NATIVE_FILES:
54 %TOMCATLIB%/*
55 %{_libdir}/*
56
57
58TOOLS_NAME: %PKG_GREENSTONE_TOOLS%
59TOOLS_DESCRIPTION_SHORT: 'Tools for building Greenstone collections'
60TOOLS_DESCRIPTION: %TOOLS_DESCRIPTION_SHORT%
61TOOLS_ARCHITECTURE: %ARCH%
62
63TOOLS_DEPENDS:
64 %PKG_WVWARE%
65 %PKG_PERL%
66 %PKG_IMAGEMAGICK%
67 %PKG_WGET%
68
69TOOLS_OPTDEPENDS:
70 %PKG_GLI%
71
72TOOLS_PROVIDES:
73
74TOOLS_FILES:
75 %GREENSTONE_HOME%/*
76 %{_bindir}/*
77
78
79MAIN_NAME: %PKG_GREENSTONE%
80MAIN_DESCRIPTION_SHORT: 'Greenstone Digital Library'
81MAIN_DESCRIPTION: 'Greenstone is a suite of software for building and distributing digital library collections'
82MAIN_ARCHITECTURE: any
83
84MAIN_DEPENDS:
85 %PKG_GREENSTONE_NATIVE%
86 %PKG_GREENSTONE_TOOLS%
87 %PKG_JAVA_JRE%
88 %PKG_TOMCAT%
89 %PKG_WGET%
90
91MAIN_OPTDEPENDS:
92 %PKG_GREENSTONE_DEMO%
93
94MAIN_PROVIDES:
95
96MAIN_FILES:
97 %WEB%
98 %TOMCATCONF%/*
99 %TOMCATLIB%/*
100 %{_libdir}/*
101
102MAIN_POST_INSTALL:
103 chown -R %TOMCAT_USER%:%TOMCAT_USER% %WEB%
104
105MAIN_POST_REMOVE:
106 echo "To fully remove greenstone, delete /usr/share/greenstone/web"
Note: See TracBrowser for help on using the repository browser.