* Converted some more old descriptors.
svn path=/nixpkgs/trunk/; revision=209
This commit is contained in:
10
pkgs/db4/db4-build.sh
Executable file
10
pkgs/db4/db4-build.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#! /bin/sh
|
||||
|
||||
. $stdenv/setup || exit 1
|
||||
|
||||
tar xvfz $src || exit 1
|
||||
cd db-*/build_unix || exit 1
|
||||
LDFLAGS=-Wl,-S ../dist/configure --prefix=$out --enable-cxx --enable-compat185 || exit 1
|
||||
make || exit 1
|
||||
make install || exit 1
|
||||
rm -rf $out/doc || exit 1
|
||||
12
pkgs/db4/db4.fix
Normal file
12
pkgs/db4/db4.fix
Normal file
@@ -0,0 +1,12 @@
|
||||
Package(
|
||||
[ ("name", "db-4.0.14")
|
||||
, ("build", Relative("db4/db4-build.sh"))
|
||||
|
||||
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
||||
[ ("url", "http://www.sleepycat.com/update/snapshot/db-4.0.14.tar.gz")
|
||||
, ("md5", "12262c64fcd64b772e7cffad8e4d0ebc")
|
||||
]))
|
||||
|
||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
||||
]
|
||||
)
|
||||
15
pkgs/httpd/httpd-build.sh
Executable file
15
pkgs/httpd/httpd-build.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#! /bin/sh
|
||||
|
||||
. $stdenv/setup || exit 1
|
||||
|
||||
envpkgs="$ssl $db4 $expat"
|
||||
. $setenv
|
||||
|
||||
tar xvfz $src || exit 1
|
||||
cd httpd-* || exit 1
|
||||
LDFLAGS=-Wl,-S ./configure --prefix=$out --enable-ssl --with-ssl=$ssl --with-berkeley-db=$db4 \
|
||||
--with-expat=$expat --enable-mods-shared=all --without-gdbm || exit 1
|
||||
make || exit 1
|
||||
make install || exit 1
|
||||
strip -S $out/lib/*.a || exit 1
|
||||
rm -rf $out/manual || exit 1
|
||||
17
pkgs/httpd/httpd.fix
Normal file
17
pkgs/httpd/httpd.fix
Normal file
@@ -0,0 +1,17 @@
|
||||
Package(
|
||||
[ ("name", "httpd-2.0.47")
|
||||
|
||||
, ("build", Relative("httpd/httpd-build.sh"))
|
||||
, ("setenv", Relative("helpers/set-env.sh"))
|
||||
|
||||
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
||||
[ ("url", "http://apache.cs.uu.nl/dist/httpd/httpd-2.0.47.tar.gz")
|
||||
, ("md5", "63f16638c18b140b649fab32b54d7f9c")
|
||||
]))
|
||||
|
||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
||||
, ("ssl", IncludeFix("openssl/openssl.fix"))
|
||||
, ("db4", IncludeFix("db4/db4.fix"))
|
||||
, ("expat", IncludeFix("expat/expat.fix"))
|
||||
]
|
||||
)
|
||||
@@ -9,9 +9,17 @@ Package(
|
||||
, ("md5", "700caa3f59b585d173812c4a078feeba")
|
||||
]))
|
||||
|
||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
||||
, ("localServer", "1")
|
||||
, ("httpsClient", "1")
|
||||
, ("httpServer", "1")
|
||||
, ("httpsServer", "1")
|
||||
, ("pythonBindings", "1")
|
||||
|
||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
||||
, ("ssl", IncludeFix("openssl/openssl.fix"))
|
||||
, ("swig", IncludeFix("swig/swig.fix"))
|
||||
, ("httpd", IncludeFix("httpd/httpd.fix"))
|
||||
, ("db4", IncludeFix("db4/db4.fix"))
|
||||
, ("libxml", IncludeFix("libxml2/libxml2.fix"))
|
||||
]
|
||||
)
|
||||
|
||||
9
pkgs/swig/swig-build.sh
Executable file
9
pkgs/swig/swig-build.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#! /bin/sh
|
||||
|
||||
. $stdenv/setup || exit 1
|
||||
|
||||
tar xvfz $src || exit 1
|
||||
cd SWIG-* || exit 1
|
||||
LDFLAGS=-Wl,-S ./configure --prefix=$out || exit 1
|
||||
gmake || exit 1
|
||||
gmake install || exit 1
|
||||
12
pkgs/swig/swig.fix
Normal file
12
pkgs/swig/swig.fix
Normal file
@@ -0,0 +1,12 @@
|
||||
Package(
|
||||
[ ("name", "swig-1.3.19")
|
||||
, ("build", Relative("swig/swig-build.sh"))
|
||||
|
||||
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
||||
[ ("url", "http://heanet.dl.sourceforge.net/sourceforge/swig/swig-1.3.19.tar.gz")
|
||||
, ("md5", "a733455544426b31868dd87fc162e750")
|
||||
]))
|
||||
|
||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
||||
]
|
||||
)
|
||||
17
pkgs/wxPython/wxPython-build.sh
Executable file
17
pkgs/wxPython/wxPython-build.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#! /bin/sh
|
||||
|
||||
. $stdenv/setup || exit 1
|
||||
|
||||
export PATH=$pkgconfig/bin:$PATH
|
||||
envpkgs="$gtk"
|
||||
. $setenv || exit 1
|
||||
|
||||
tar xvfz $src || exit 1
|
||||
cd wxPythonSrc-* || exit 1
|
||||
./configure --prefix=$out --enable-gtk2 --enable-rpath=$out/lib --with-opengl || exit 1
|
||||
make || exit 1
|
||||
make install || exit 1
|
||||
cd wxPython || exit 1
|
||||
python setup.py WX_CONFIG=$out/bin/wx-config WXPORT=gtk2 build install --root=$out/python || exit 1
|
||||
|
||||
echo $envpkgs > $out/envpkgs || exit 1
|
||||
16
pkgs/wxPython/wxPython.fix
Normal file
16
pkgs/wxPython/wxPython.fix
Normal file
@@ -0,0 +1,16 @@
|
||||
Package(
|
||||
[ ("name", "wxPython-2.4.1.2")
|
||||
|
||||
, ("build", Relative("wxPython/wxPython-build.sh"))
|
||||
, ("setenv", Relative("helpers/set-env.sh"))
|
||||
|
||||
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
||||
[ ("url", "http://belnet.dl.sourceforge.net/sourceforge/wxpython/wxPythonSrc-2.4.1.2.tar.gz")
|
||||
, ("md5", "515fa95c5c0497404a858213b6586411")
|
||||
]))
|
||||
|
||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
||||
, ("pkgconfig", IncludeFix("pkgconfig/pkgconfig.fix"))
|
||||
, ("gtk", IncludeFix("gtk+/gtk+.fix"))
|
||||
]
|
||||
)
|
||||
Reference in New Issue
Block a user