svn path=/nixpkgs/trunk/; revision=606
This commit is contained in:
Eelco Visser 2003-12-30 21:16:58 +00:00
parent bad05cd2b6
commit 35fa436449
3 changed files with 0 additions and 55 deletions

View File

@ -1,32 +0,0 @@
#! /bin/sh
buildinputs="$autoconf $automake $libxml2 $libxslt"
. $stdenv/setup
echo "copying sources..."
cp -prd $src/* . || exit 1
chmod -R u+w . || exit 1
cp -p $bdbSrc externals/db-4.1.25.tar.gz || exit 1 # !!!
cp -p $atermSrc externals/aterm-2.0.5.tar.gz || exit 1
cp -p $sdfSrc externals/sdf2-bundle-1.6.tar.gz || exit 1
echo "autoconfing..."
autoreconf -i || exit 1
echo "configuring..."
./configure \
--with-docbook-catalog=$docbook_dtd/xml/dtd/docbook/docbook.cat \
--with-docbook-xsl=$docbook_xslt/xml/xsl/docbook \
--with-xml-flags="--nonet" || exit 1
echo "building..."
make distdir || exit 1
pkgname=$(echo nix-*)
tar cvfz $pkgname.tar.gz $pkgname || exit 1
tar cvfj $pkgname.tar.bz2 $pkgname || exit 1
echo "copying result..."
mkdir $out || exit 1
cp -p $pkgname.tar.gz $pkgname.tar.bz2 $out || exit 1
cp -p doc/manual/book.html $out/manual.html || exit 1
cp -p doc/manual/style.css $out/ || exit 1

View File

@ -1,12 +0,0 @@
{stdenv, getopt, src}:
derivation {
name = "strategoxt-test-build";
system = stdenv.system;
builder = ./strategoxt-test-build.sh;
src = src;
stdenv = stdenv;
getopt = getopt; # required by sdf2table
}

View File

@ -1,11 +0,0 @@
#! /bin/sh
buildinputs="$getopt"
. $stdenv/setup || exit 1
tar xvfj $src/*.tar.bz2 || exit 1
cd nix-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make check || exit 1
make install || exit 1