basesoft.desc 9.35 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
-- Description of basic software, tipical external programs that needs to be
-- compiled and installed with specific methods (like autotools)
basesoft = {
	{ name = "cxxtest",
		source = "http://www.tecgraf.puc-rio.br/~amadeu/tarballs/cxxtest.tar.gz",
		dev_files = {
		  ["cxxtestgen.pl"] = "bin",
		  ["cxxtestgen.py"] = "bin",
		  ["include/cxxtest"] = "incpath/cxxtest/",
	  },
	},
	{ name = "e2fsprogs-1.40.8",
		source = "http://www.tecgraf.puc-rio.br/~amadeu/tarballs/e2fsprogs-1.40.8.tar.gz",
		build = {
			type = "autotools",
			test_libs = {"libuuid.*"},
			-- TIP: o configure dessa versão tem algum problema que dá um erro
			-- ao tentar fazer make sem antes fazer um clean
			Darwin = "make clean; ./configure --prefix=".. TMPDIR ..
			         " --enable-bsd-shlibs && cd lib/uuid && make && make install",
			Linux =  "gmake clean; ./configure --prefix=".. TMPDIR ..
			         " --enable-elf-shlibs && cd lib/uuid && gmake && gmake install",
			SunOS =  "gmake clean; ./configure --with-cc=gcc --prefix=".. TMPDIR ..
			         " --enable-elf-shlibs && cd lib/uuid && gmake && gmake install",
			IRIX =   "gmake clean; ./configure --prefix=".. TMPDIR ..
			         " --enable-elf-shlibs && cd lib/uuid && gmake && gmake install",
		},
		install_files = {
--			["lib/libuuid*.dll*"] = "libpath/${TEC_UNAME}",  --dynamic windows
			["lib/libuuid*.so*"] = "libpath/${TEC_UNAME}",   --dynamic linux,aix,sunos
			["lib/libuuid*.dylib*"] = "libpath/${TEC_UNAME}",--dynamic macos
		},
		dev_files = {
			["lib/libuuid*.a*"] = "libpath/${TEC_UNAME}",    --static linux,aix,sunos
--			["lib/libuuid*.lib*"] = "libpath/${TEC_UNAME}",  --static windows
--			["lib/libuuid*.dll*"] = "libpath/${TEC_UNAME}",  --dynamic windows
			["lib/libuuid*.so*"] = "libpath/${TEC_UNAME}",   --dynamic linux,aix,sunos
			["lib/libuuid*.dylib*"] = "libpath/${TEC_UNAME}",--dynamic macos
			["lib/uuid/uuid.h"] = "incpath/e2fsprogs-1.40.8/uuid",
		},
	},
	{ name = "openssl-0.9.9",
		source = "http://www.tecgraf.puc-rio.br/~amadeu/tarballs/openssl-0.9.9.tar.gz",
		build = {
			type = "autotools",
			test_libs = {"libcrypto*0.9.9*"},
			Darwin = "./config no-asm shared --prefix=".. TMPDIR ..
			         " --openssldir=".. TMPDIR .."/openssl && make && make install_sw",
			Linux =  "./config shared --prefix=".. TMPDIR ..
			         " --openssldir=".. TMPDIR .."/openssl && make && make install_sw",
			IRIX =   "./config shared --prefix=".. TMPDIR ..
			         " --openssldir=".. TMPDIR .."/openssl && make && make install_sw",
			SunOS =  "./config shared --prefix=".. TMPDIR ..
			         " --openssldir=".. TMPDIR .."/openssl && make && make install_sw",
			SunOS510x86 = "./config no-asm shared --prefix=".. TMPDIR ..
			         " --openssldir=".. TMPDIR .."/openssl && make && make install_sw",
		},
		install_files = {
--			["libssl*.dll*"] = "libpath/${TEC_UNAME}",      --dynamic windows
--			["libcrypto*.dll*"] = "libpath/${TEC_UNAME}",
			[TMPDIR .."/lib/libssl*.so*"] = "libpath/${TEC_UNAME}",       --dynamic linux,aix,sunos
			[TMPDIR .."/lib/libcrypto*.so*"] = "libpath/${TEC_UNAME}",
			[TMPDIR .."/lib/libssl*.dylib*"] = "libpath/${TEC_UNAME}",    --dynamic macos
			[TMPDIR .."/lib/libcrypto*.dylib*"] = "libpath/${TEC_UNAME}",
			[TMPDIR .."/bin/openssl"] = "bin/${TEC_UNAME}",
			[TMPDIR .."/bin/c_rehash"] = "bin/${TEC_UNAME}",
			[TMPDIR .."/openssl/*"] = "openssl",
		},
		dev_files = {
			[TMPDIR .."/include/openssl"] = "incpath/openssl-0.9.9",
			[TMPDIR .."/lib/libssl*.a*"] = "libpath/${TEC_UNAME}",        --static linux,aix,sunos
			[TMPDIR .."/lib/libcrypto*.a*"] = "libpath/${TEC_UNAME}",     
--			["libssl*.lib*"] = "libpath/${TEC_UNAME}",      --static windows
--			["libcrypto*.lib*"] = "libpath/${TEC_UNAME}",
--			["libssl*.dll*"] = "libpath/${TEC_UNAME}",      --dynamic windows
--			["libcrypto*.dll*"] = "libpath/${TEC_UNAME}",
			[TMPDIR .."/lib/libssl*.so*"] = "libpath/${TEC_UNAME}",       --dynamic linux,aix,sunos
			[TMPDIR .."/lib/libcrypto*.so*"] = "libpath/${TEC_UNAME}",
			[TMPDIR .."/lib/libssl*.dylib*"] = "libpath/${TEC_UNAME}",    --dynamic macos
			[TMPDIR .."/lib/libcrypto*.dylib*"] = "libpath/${TEC_UNAME}",
			[TMPDIR .."/bin/openssl"] = "bin/${TEC_UNAME}",
			[TMPDIR .."/bin/c_rehash"] = "bin/${TEC_UNAME}",
			[TMPDIR .."/openssl/*"] = "openssl",
		},
	},
	{ name = "db-4.6.21",
		source = "http://www.tecgraf.puc-rio.br/~amadeu/tarballs/db-4.6.21.tar.gz",
		build = {
			type = "autotools",
			test_libs = {"libdb.*"},
			Darwin = "cd build_unix; make clean; ../dist/configure --prefix=".. TMPDIR ..
			         " && make && make install",
			Linux =  "cd build_unix; gmake clean; ../dist/configure --prefix=".. TMPDIR ..
			         " && gmake && gmake install",
			SunOS =  "cd build_unix; gmake clean; ../dist/configure --prefix=".. TMPDIR ..
			         " && gmake && gmake install",
			SunOS510x86 = "cd build_unix; gmake clean; ../dist/configure CC=gcc --prefix=".. TMPDIR ..
			         " && gmake && gmake install",
			IRIX =   "cd build_unix; gmake clean; ../dist/configure --prefix=".. TMPDIR ..
			         " && gmake && gmake install",
		},
		install_files = {
			[TMPDIR .."/lib/libdb*.so*"] = "libpath/${TEC_UNAME}",   --dynamic linux,aix,sunos
			[TMPDIR .."/lib/libdb*.dylib*"] = "libpath/${TEC_UNAME}",--dynamic macos
		},
		dev_files = {
			[TMPDIR .."/lib/libdb*.a*"] = "libpath/${TEC_UNAME}",    --static linux,aix,sunos
			[TMPDIR .."/lib/libdb*.so*"] = "libpath/${TEC_UNAME}",   --dynamic linux,aix,sunos
			[TMPDIR .."/lib/libdb*.dylib*"] = "libpath/${TEC_UNAME}",--dynamic macos
			[TMPDIR .."/include/db.h"] = "incpath/db-4.6.21",
			[TMPDIR .."/include/db_cxx.h"] = "incpath/db-4.6.21",
		},
	},
	{ name = "cyrus-sasl2-2.1.22.dfsg1",
		source = "http://www.tecgraf.puc-rio.br/~amadeu/tarballs/cyrus-sasl2-2.1.22.dfsg1.tar.gz",
		build = {
			type = "autotools",
			test_libs = {"libsasl2*.*"},
			external_dependencies = {
				includes = "db.h", 
				libs = "libdb.so",
			},
			Darwin = "./configure --prefix=".. TMPDIR .." --disable-macos-framework --disable-ldap --enable-static=yes"..
			         " && cd include/ && make && make install "..
			         " && cd ../lib/ && make && make install ",
			Linux =  "./configure --prefix=".. TMPDIR .." --disable-ldap --enable-static=yes"..
			         " && cd include/ && make && make install "..
			         " && cd ../lib/ && make && make install ",
			SunOS =  "./configure --prefix=".. TMPDIR .." --disable-ldap --enable-static=yes"..
			         " && cd include/ && make && make install "..
			         " && cd ../lib/ && make && make install ",
			SunOS510x86 =  "env CC=gcc ./configure --prefix=".. TMPDIR .." --disable-ldap --enable-static=yes"..
			         " && cd include/ && make && make install "..
			         " && cd ../lib/ && make && make install ",
			IRIX =   "./configure --prefix=".. TMPDIR .." --disable-ldap --enable-static=yes"..
			         " && cd include/ && make && make install "..
			         " && cd ../lib/ && make && make install ",
		},
		install_files = {
			[TMPDIR .."/lib/libsasl2*.*so*"] = "libpath/${TEC_UNAME}",   --dynamic linux,aix,sunos
			[TMPDIR .."/lib/libsasl2*.*dylib*"] = "libpath/${TEC_UNAME}",--dynamic macos
		},
		dev_files = {
			[TMPDIR .."/lib/libsasl2*.a*"] = "libpath/${TEC_UNAME}",    --static linux,aix,sunos
			[TMPDIR .."/lib/libsasl2*.*so*"] = "libpath/${TEC_UNAME}",   --dynamic linux,aix,sunos
			[TMPDIR .."/lib/libsasl2*.*dylib*"] = "libpath/${TEC_UNAME}",--dynamic macos
			[TMPDIR .."/include/sasl"] = "incpath/cyrus-sasl2-2.1.22.dfsg1",
		},
	},
	{ name = "openldap-2.1.30",
		source = "http://www.tecgraf.puc-rio.br/~amadeu/tarballs/openldap-2.1.30.tar.gz",
		build = {
			type = "autotools",
			test_libs = {"libldap*.*"},
			external_dependencies = {
				includes = "db.h", 
				libs = "libdb.so",
			},
			Darwin = "env LIBS=-lresolv ./configure --prefix=".. TMPDIR .." --disable-slapd --disable-slurpd"..
			         " && make depend && make && make install",
			Linux =  "./configure --prefix=".. TMPDIR .." --disable-slapd --disable-slurpd"..
			         " && make depend && make && make install",
			SunOS =  "./configure --prefix=".. TMPDIR .." --disable-slapd --disable-slurpd"..
			         " && make depend && make && make install",
			SunOS510x86 =  "env CC=gcc ./configure --prefix=".. TMPDIR .." --disable-slapd --disable-slurpd"..
			         " && make depend && make && make install",
			IRIX =   "./configure --prefix=".. TMPDIR .." --disable-slapd --disable-slurpd"..
			         " && make depend && make && make install",
		},
		install_files = {
			[TMPDIR .."/lib/libldap*.so*"] = "libpath/${TEC_UNAME}",   --dynamic linux,aix,sunos
			[TMPDIR .."/lib/libldap*.dylib*"] = "libpath/${TEC_UNAME}",--dynamic macos
			[TMPDIR .."/lib/liblber*.so*"] = "libpath/${TEC_UNAME}",   --dynamic linux,aix,sunos
			[TMPDIR .."/lib/liblber*.dylib*"] = "libpath/${TEC_UNAME}",--dynamic macos
		},
		dev_files = {
			[TMPDIR .."/lib/libldap*.a*"] = "libpath/${TEC_UNAME}",    --static linux,aix,sunos
			[TMPDIR .."/lib/libldap*.so*"] = "libpath/${TEC_UNAME}",   --dynamic linux,aix,sunos
			[TMPDIR .."/lib/libldap*.dylib*"] = "libpath/${TEC_UNAME}",--dynamic macos
			[TMPDIR .."/lib/liblber*.a*"] = "libpath/${TEC_UNAME}",    --static linux,aix,sunos
			[TMPDIR .."/lib/liblber*.so*"] = "libpath/${TEC_UNAME}",   --dynamic linux,aix,sunos
			[TMPDIR .."/lib/liblber*.dylib*"] = "libpath/${TEC_UNAME}",--dynamic macos
			[TMPDIR .."/include/ldap*"] = "incpath/openldap-2.1.30",
			[TMPDIR .."/include/lber*"] = "incpath/openldap-2.1.30",
		},
	},
}