mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
* Subversion is also dependant on libxml.
svn path=/nixpkgs/trunk/; revision=67
This commit is contained in:
12
build/libxml2-build.sh
Executable file
12
build/libxml2-build.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#! /bin/sh
|
||||
|
||||
export PATH=/bin:/usr/bin
|
||||
|
||||
top=`pwd`
|
||||
tar xvfz $src || exit 1
|
||||
cd libxml2-* || exit 1
|
||||
./configure --prefix=$top || exit 1
|
||||
make || exit 1
|
||||
make install || exit 1
|
||||
cd .. || exit 1
|
||||
rm -rf libxml2-* || exit 1
|
||||
@@ -1,6 +1,6 @@
|
||||
#! /bin/sh
|
||||
|
||||
export PATH=/bin:/usr/bin
|
||||
export PATH=$libxml/bin:/bin:/usr/bin
|
||||
|
||||
export LDFLAGS=-s
|
||||
|
||||
|
||||
8
descriptors/libxml2-2.5.7.fix
Normal file
8
descriptors/libxml2-2.5.7.fix
Normal file
@@ -0,0 +1,8 @@
|
||||
Descr(
|
||||
[ Bind("pkgId", "libxml2-2.5.7")
|
||||
, Bind("releaseId", "1")
|
||||
|
||||
, Bind("src", Url("f7ed96959fbddf366af64652804d1b57", "ftp://fr.rpmfind.net/pub/libxml/libxml2-2.5.7.tar.gz"))
|
||||
, Bind("build", Local("../build/libxml2-build.sh"))
|
||||
]
|
||||
)
|
||||
@@ -10,6 +10,8 @@ Descr(
|
||||
|
||||
, Bind("httpd", If(Var("httpServer"), Fix("./httpd-2.0.45.fix"), ""))
|
||||
|
||||
, Bind("libxml", Fix("./libxml2-2.5.7.fix"))
|
||||
|
||||
, Bind("src", Url("59661f2145976437b371a0ab3a555dbd", "http://subversion.tigris.org/files/documents/15/4218/subversion-0.23.0.tar.gz"))
|
||||
, Bind("build", Local("../build/subversion-build.sh"))
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user