* Delete the old Fix packages.
svn path=/nixpkgs/trunk/; revision=501
This commit is contained in:
parent
e6db9b1caa
commit
6b2bb22474
12
ChangeLog
12
ChangeLog
@ -1,12 +0,0 @@
|
|||||||
2003-08-18 Eelco Visser <visser@cs.uu.nl>
|
|
||||||
|
|
||||||
* pkgs/strategoxt/pkg-build.sh: generic build script for packages
|
|
||||||
with the standard untar; bootstrap; configure; make; make install
|
|
||||||
interface. The script is parameterized with arguments for
|
|
||||||
configure. That is, all arguments are passed verbatim to
|
|
||||||
configure.
|
|
||||||
|
|
||||||
* asfix-tools, gpp, sc, srts, stratego-front, xtc: Fix expressions
|
|
||||||
and (trivial) build script for basic strategoxt packages. All
|
|
||||||
packages are abstracted on subversion revision.
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
envpkgs="$freetype $x11"
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
|
|
||||||
tar xvfj $src || exit 1
|
|
||||||
tar xvfj $fonts || exit 1
|
|
||||||
cd MPlayer-* || exit 1
|
|
||||||
./configure --prefix=$out --with-win32libdir=$win32codecs \
|
|
||||||
--with-x11incdir=$x11/include --with-x11libdir=$x11/lib \
|
|
||||||
--with-reallibdir=$win32codecs \
|
|
||||||
--disable-sdl --disable-esd --disable-xanim --disable-cdparanoia --disable-directfb \
|
|
||||||
--disable-lirc --disable-svga --disable-libdv \
|
|
||||||
--disable-vorbis --disable-png --disable-jpeg --disable-gif \
|
|
||||||
--enable-runtime-cpudetection \
|
|
||||||
|| exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
||||||
cp -p ../font-arial-iso-8859-1/font-arial-18-iso-8859-1/* $out/share/mplayer/font || exit 1
|
|
@ -1,21 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "MPlayer-1.0pre2")
|
|
||||||
|
|
||||||
, ("build", Relative("MPlayer/MPlayer-build.sh"))
|
|
||||||
|
|
||||||
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "http://www2.mplayerhq.hu/MPlayer/releases/MPlayer-1.0pre2.tar.bz2")
|
|
||||||
, ("md5", "a60c179468f85e83e3f9e1922e81ad64")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("fonts", App(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "http://www2.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2")
|
|
||||||
, ("md5", "1ecd31d17b51f16332b1fcc7da36b312")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
, ("x11", IncludeFix("xfree86/xfree86.fix"))
|
|
||||||
, ("freetype", IncludeFix("freetype/freetype.fix"))
|
|
||||||
, ("win32codecs", IncludeFix("win32codecs/win32codecs.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,12 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
envpkgs="$fontconfig $x11"
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
export PATH=$pkgconfig/bin:$PATH
|
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
cd xft-* || exit 1
|
|
||||||
./configure --prefix=$out --x-includes=$x11/include --x-libraries=$x11/lib || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
||||||
echo $envpkgs > $out/envpkgs || exit 1
|
|
@ -1,16 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "Xft-2.1.2")
|
|
||||||
|
|
||||||
, ("build", Relative("Xft/Xft-build.sh"))
|
|
||||||
|
|
||||||
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "http://pdx.freedesktop.org/software/fontconfig/releases/xft-2.1.2.tar.gz")
|
|
||||||
, ("md5", "defb7e801d4938b8b15a426ae57e2f3f")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
, ("pkgconfig", IncludeFix("pkgconfig/pkgconfig.fix"))
|
|
||||||
, ("x11", IncludeFix("xfree86/xfree86.fix"))
|
|
||||||
, ("fontconfig", IncludeFix("fontconfig/fontconfig.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,3 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
set -e
|
|
||||||
$pkgbuild --with-aterm=$aterm --with-sdf=$sdf2 --with-srts=$srts --with-xtc=$xtc
|
|
@ -1,19 +0,0 @@
|
|||||||
Function(["rev"],
|
|
||||||
Package(
|
|
||||||
[ ("name", "asfix-tools")
|
|
||||||
|
|
||||||
, ("build", Relative("asfix-tools/asfix-tools-build.sh"))
|
|
||||||
, ("pkgbuild", Relative("strategoxt/pkg-build.sh"))
|
|
||||||
|
|
||||||
, ("src", App(IncludeFix("strategoxt/fetchsvn.fix"),
|
|
||||||
[ ("name", "asfix-tools"), ("rev", Var("rev"))]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
, ("aterm", IncludeFix("aterm/aterm.fix"))
|
|
||||||
, ("sdf2", IncludeFix("sdf2/sdf2.fix"))
|
|
||||||
, ("autoxt", App(IncludeFix("autoxt/autoxt.fix"),[("rev",Var("rev"))]))
|
|
||||||
, ("srts", App(IncludeFix("srts/srts.fix"),[("rev",Var("rev"))]))
|
|
||||||
, ("xtc", App(IncludeFix("xtc/xtc.fix"),[("rev",Var("rev"))]))
|
|
||||||
]
|
|
||||||
)
|
|
||||||
)
|
|
@ -1,10 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
cd aterm-* || exit 1
|
|
||||||
./configure --prefix=$out --with-gcc || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
||||||
strip -S $out/lib/*.a || exit 1
|
|
@ -1,12 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "aterm-2.0")
|
|
||||||
, ("build", Relative("aterm/aterm-build.sh"))
|
|
||||||
|
|
||||||
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "http://www.cwi.nl/projects/MetaEnv/aterm/aterm-2.0.tar.gz")
|
|
||||||
, ("md5", "853474e4bcf4a85f7d38a0676b36bded")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,13 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
envpkgs=$glib
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
export PATH=$pkgconfig/bin:$perl/bin:$PATH
|
|
||||||
|
|
||||||
tar xvfj $src || exit 1
|
|
||||||
cd atk-* || exit 1
|
|
||||||
./configure --prefix=$out || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
||||||
|
|
||||||
echo $envpkgs > $out/envpkgs || exit 1
|
|
@ -1,16 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "atk-1.2.4")
|
|
||||||
|
|
||||||
, ("build", Relative("atk/atk-build.sh"))
|
|
||||||
|
|
||||||
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "ftp://ftp.gtk.org/pub/gtk/v2.2/atk-1.2.4.tar.bz2")
|
|
||||||
, ("md5", "2d6d50df31abe0e8892b5d3e7676a02d")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
, ("pkgconfig", IncludeFix("pkgconfig/pkgconfig.fix"))
|
|
||||||
, ("glib", IncludeFix("glib/glib.fix"))
|
|
||||||
, ("perl", IncludeFix("perl/perl.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,3 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
set -e
|
|
||||||
$pkgbuild
|
|
@ -1,13 +0,0 @@
|
|||||||
Function(["rev"],
|
|
||||||
Package(
|
|
||||||
[ ("name", "autoxt")
|
|
||||||
|
|
||||||
, ("build", Relative("strategoxt/pkg-build.sh"))
|
|
||||||
|
|
||||||
, ("src", App(IncludeFix("strategoxt/fetchsvn.fix"),
|
|
||||||
[ ("name", "autoxt"), ("rev", Var("rev"))]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
||||||
)
|
|
@ -1,25 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
export PATH=/bin:/usr/bin
|
|
||||||
|
|
||||||
mkdir $out || exit 1
|
|
||||||
mkdir $out/bin || exit 1
|
|
||||||
|
|
||||||
sed \
|
|
||||||
-e s^@OUT\@^$out^g \
|
|
||||||
< $setup > $out/setup || exit 1
|
|
||||||
|
|
||||||
sed \
|
|
||||||
-e 's^@GCC\@^$NIX_CC^g' \
|
|
||||||
< $gccwrapper > $out/bin/gcc || exit 1
|
|
||||||
chmod +x $out/bin/gcc || exit 1
|
|
||||||
ln -s gcc $out/bin/cc || exit 1
|
|
||||||
|
|
||||||
sed \
|
|
||||||
-e 's^@GCC\@^$NIX_CXX^g' \
|
|
||||||
< $gccwrapper > $out/bin/g++ || exit 1
|
|
||||||
chmod +x $out/bin/g++ || exit 1
|
|
||||||
ln -s g++ $out/bin/c++ || exit 1
|
|
||||||
|
|
||||||
cp $ldwrapper $out/bin/ld || exit 1
|
|
||||||
chmod +x $out/bin/ld || exit 1
|
|
@ -1,9 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "baseenv")
|
|
||||||
, ("build", Relative("baseenv/baseenv-build.sh"))
|
|
||||||
|
|
||||||
, ("setup", Relative("baseenv/setup.sh"))
|
|
||||||
, ("gccwrapper", Relative("baseenv/gcc-wrapper.sh"))
|
|
||||||
, ("ldwrapper", Relative("baseenv/ld-wrapper.sh"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,42 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
IFS=
|
|
||||||
|
|
||||||
justcompile=0
|
|
||||||
for i in $@; do
|
|
||||||
if test "$i" == "-c"; then
|
|
||||||
justcompile=1
|
|
||||||
elif test "$i" == "-S"; then
|
|
||||||
justcompile=1
|
|
||||||
elif test "$i" == "-E"; then
|
|
||||||
justcompile=1
|
|
||||||
elif test "$i" == "-E"; then
|
|
||||||
justcompile=1
|
|
||||||
elif test "$i" == "-M"; then
|
|
||||||
justcompile=1
|
|
||||||
elif test "$i" == "-MM"; then
|
|
||||||
justcompile=1
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
IFS=" "
|
|
||||||
extra=($NIX_CFLAGS_COMPILE)
|
|
||||||
if test "$justcompile" != "1"; then
|
|
||||||
extra=(${extra[@]} $NIX_CFLAGS_LINK)
|
|
||||||
for i in $NIX_LDFLAGS; do
|
|
||||||
extra=(${extra[@]} "-Wl,$i")
|
|
||||||
done
|
|
||||||
if test "$NIX_STRIP_DEBUG" == "1"; then
|
|
||||||
extra=(${extra[@]} -g0 -Wl,-s)
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$NIX_DEBUG" == "1"; then
|
|
||||||
echo "extra flags to @GCC@:" >&2
|
|
||||||
for i in ${extra[@]}; do
|
|
||||||
echo " $i" >&2
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
IFS=
|
|
||||||
exec @GCC@ $@ ${extra[@]}
|
|
@ -1,17 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
IFS=" "
|
|
||||||
extra=($NIX_CFLAGS_LINK $NIX_LDFLAGS)
|
|
||||||
if test "$NIX_STRIP_DEBUG" == "1"; then
|
|
||||||
extra=(${extra[@]} -s)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$NIX_DEBUG" == "1"; then
|
|
||||||
echo "extra flags to @LD@:" >&2
|
|
||||||
for i in ${extra[@]}; do
|
|
||||||
echo " $i" >&2
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
IFS=
|
|
||||||
exec $NIX_LD $@ ${extra[@]}
|
|
@ -1,40 +0,0 @@
|
|||||||
# Add the directory containing the GCC wrappers to the PATH.
|
|
||||||
export PATH=@OUT@/bin:$PATH
|
|
||||||
|
|
||||||
# Recursively add all envpkgs to the relevant environment variables.
|
|
||||||
addtoenv()
|
|
||||||
{
|
|
||||||
envpkgs="$envpkgs $1"
|
|
||||||
|
|
||||||
if test -d $1/bin; then
|
|
||||||
export PATH=$1/bin:$PATH
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -d $1/lib; then
|
|
||||||
export NIX_CFLAGS_LINK="-L$1/lib $NIX_CFLAGS_LINK"
|
|
||||||
export NIX_LDFLAGS="-rpath $1/lib $NIX_LDFLAGS"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -d $1/lib/pkgconfig; then
|
|
||||||
export PKG_CONFIG_PATH=$1/lib/pkgconfig:$PKG_CONFIG_PATH
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -f $1/envpkgs; then
|
|
||||||
for i in $(cat $1/envpkgs); do
|
|
||||||
addtoenv $i
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
oldenvpkgs=$envpkgs
|
|
||||||
envpkgs=
|
|
||||||
|
|
||||||
for i in $oldenvpkgs; do
|
|
||||||
addtoenv $i
|
|
||||||
done
|
|
||||||
|
|
||||||
# Add the output as an rpath.
|
|
||||||
export NIX_LDFLAGS="-rpath $out/lib $NIX_LDFLAGS"
|
|
||||||
|
|
||||||
# Strip debug information by default.
|
|
||||||
export NIX_STRIP_DEBUG=1
|
|
@ -1,10 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
cd bash-* || exit 1
|
|
||||||
./configure --prefix=$out || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
||||||
(cd $out/bin; ln -s bash sh) || exit 1
|
|
@ -1,13 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "bash-2.05b")
|
|
||||||
|
|
||||||
, ("build", Relative("bash/bash-build.sh"))
|
|
||||||
|
|
||||||
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "ftp://ftp.nluug.nl/pub/gnu/bash/bash-2.05b.tar.gz")
|
|
||||||
, ("md5", "5238251b4926d778dfe162f6ce729733")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv-linux/stdenv-nativetools.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,15 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
|
|
||||||
tar xvfj $src || exit 1
|
|
||||||
cd binutils-* || exit 1
|
|
||||||
|
|
||||||
# Clear the default library search path.
|
|
||||||
echo 'NATIVE_LIB_DIRS=' >> ld/configure.tgt || exit 1
|
|
||||||
|
|
||||||
./configure --prefix=$out || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
||||||
|
|
||||||
strip -S $out/lib/*.a || exit 1
|
|
@ -1,13 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "binutils-2.14")
|
|
||||||
|
|
||||||
, ("build", Relative("binutils/binutils-build.sh"))
|
|
||||||
|
|
||||||
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "ftp://ftp.nluug.nl/pub/gnu/binutils/binutils-2.14.tar.bz2")
|
|
||||||
, ("md5", "2da8def15d28af3ec6af0982709ae90a")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv-linux/stdenv-nativetools.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,10 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
export PATH=$m4/bin:$PATH
|
|
||||||
|
|
||||||
tar xvfj $src || exit 1
|
|
||||||
cd bison-* || exit 1
|
|
||||||
./configure --prefix=$out || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
@ -1,15 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "bison-1.875")
|
|
||||||
|
|
||||||
, ("build", Relative("bison/bison-build.sh"))
|
|
||||||
|
|
||||||
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "ftp://ftp.nluug.nl/pub/gnu/bison/bison-1.875.tar.bz2")
|
|
||||||
, ("md5", "b7f8027b249ebd4dd0cc948943a71af0")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
, ("m4", IncludeFix("gnum4/gnum4.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
cd gc* || exit 1
|
|
||||||
./configure --prefix=$out --disable-shared || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
||||||
strip -S $out/lib/*.a || exit 1
|
|
@ -1,12 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "boehmgc-6.2")
|
|
||||||
, ("build", Relative("boehmgc/boehmgc-build.sh"))
|
|
||||||
|
|
||||||
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc6.2.tar.gz")
|
|
||||||
, ("md5", "15492b14ca7b9a9e035238611e9cd1e3")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,8 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
cd bzip2-* || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install PREFIX=$out || exit 1
|
|
@ -1,13 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "bzip2-1.0.2")
|
|
||||||
|
|
||||||
, ("build", Relative("bzip2/bzip2-build.sh"))
|
|
||||||
|
|
||||||
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "ftp://sources.redhat.com/pub/bzip2/v102/bzip2-1.0.2.tar.gz")
|
|
||||||
, ("md5", "ee76864958d568677f03db8afad92beb")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv-linux/stdenv-nativetools.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,9 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
|
|
||||||
tar xvfj $src || exit 1
|
|
||||||
cd coreutils-* || exit 1
|
|
||||||
./configure --prefix=$out || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
@ -1,13 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "coreutils-5.0")
|
|
||||||
|
|
||||||
, ("build", Relative("coreutils/coreutils-build.sh"))
|
|
||||||
|
|
||||||
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "ftp://ftp.nluug.nl/pub/gnu/coreutils/coreutils-5.0.tar.bz2")
|
|
||||||
, ("md5", "94e5558ee2a65723d4840bfde2d323f0")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv-linux/stdenv-nativetools.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,10 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
cd db-*/build_unix || exit 1
|
|
||||||
../dist/configure --prefix=$out --enable-cxx --enable-compat185 || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
||||||
rm -rf $out/doc || exit 1
|
|
@ -1,12 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "db4-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"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,9 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
cd diffutils-* || exit 1
|
|
||||||
./configure --prefix=$out || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
@ -1,13 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "diffutils-2.8.1")
|
|
||||||
|
|
||||||
, ("build", Relative("diffutils/diffutils-build.sh"))
|
|
||||||
|
|
||||||
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "ftp://ftp.nluug.nl/pub/gnu/diffutils/diffutils-2.8.1.tar.gz")
|
|
||||||
, ("md5", "71f9c5ae19b60608f6c7f162da86a428")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv-linux/stdenv-nativetools.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,7 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
|
|
||||||
mkdir -p $out/xml/dtd/docbook || exit 1
|
|
||||||
cd $out/xml/dtd/docbook || exit 1
|
|
||||||
$unzip/bin/unzip $src || exit 1
|
|
@ -1,13 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "docbook-xml-4.2")
|
|
||||||
, ("build", Relative("docbook-xml/docbook-xml-build.sh"))
|
|
||||||
|
|
||||||
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "http://www.oasis-open.org/docbook/xml/4.2/docbook-xml-4.2.zip")
|
|
||||||
, ("md5", "73fe50dfe74ca631c1602f558ed8961f")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
, ("unzip", IncludeFix("unzip/unzip.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,10 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
|
|
||||||
mkdir $out || exit 1
|
|
||||||
cd $out || exit 1
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
mkdir xml || exit 1
|
|
||||||
mkdir xml/xsl || exit 1
|
|
||||||
mv docbook-xsl-* xml/xsl/docbook || exit 1
|
|
@ -1,12 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "docbook-xsl-1.62.4")
|
|
||||||
, ("build", Relative("docbook-xsl/docbook-xsl-build.sh"))
|
|
||||||
|
|
||||||
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "http://belnet.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.62.4.tar.gz")
|
|
||||||
, ("md5", "4f33db39db7fa95b50143ad609d734a0")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,9 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
cd ed-* || exit 1
|
|
||||||
./configure --prefix=$out || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
@ -1,13 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "ed-0.2")
|
|
||||||
|
|
||||||
, ("build", Relative("ed/ed-build.sh"))
|
|
||||||
|
|
||||||
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "ftp://ftp.gnu.org/pub/gnu/ed/ed-0.2.tar.gz")
|
|
||||||
, ("md5", "ddd57463774cae9b50e70cd51221281b")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,10 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
cd expat-* || exit 1
|
|
||||||
./configure --prefix=$out || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
||||||
strip -S $out/lib/*.a || exit 1
|
|
@ -1,12 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "expat-1.95.6")
|
|
||||||
, ("build", Relative("expat/expat-build.sh"))
|
|
||||||
|
|
||||||
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "http://belnet.dl.sourceforge.net/sourceforge/expat/expat-1.95.6.tar.gz")
|
|
||||||
, ("md5", "ca78d94e83e9f077b5da2bfe28ba986a")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,10 +0,0 @@
|
|||||||
Function(["name","url","dir","rev"],
|
|
||||||
Package(
|
|
||||||
[ ("name", Var("name"))
|
|
||||||
, ("build", Relative("fetchsvn/fetchsvn.sh"))
|
|
||||||
, ("url", Var("url"))
|
|
||||||
, ("dir", Var("dir"))
|
|
||||||
, ("rev", Var("rev"))
|
|
||||||
]
|
|
||||||
)
|
|
||||||
)
|
|
@ -1,17 +0,0 @@
|
|||||||
Function(["name","url","dir","rev"],
|
|
||||||
Package(
|
|
||||||
[ ("name", Var("name"))
|
|
||||||
, ("build", Relative("fetchsvn/fetchsvn.sh"))
|
|
||||||
, ("url", Var("url"))
|
|
||||||
, ("dir", Var("dir"))
|
|
||||||
, ("rev", Var("rev"))
|
|
||||||
|
|
||||||
, ("svn", Call(IncludeFix("subversion/subversion.fix"),
|
|
||||||
[ ("localServer", True)
|
|
||||||
, ("httpsClient", True)
|
|
||||||
, ("httpServer", True)
|
|
||||||
, ("pythonBindings", True)
|
|
||||||
]))
|
|
||||||
]
|
|
||||||
)
|
|
||||||
)
|
|
@ -1,17 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
echo "exporting svn repository $url/$dir (at rev $rev) into $out..."
|
|
||||||
|
|
||||||
svn export -r $rev $url/$dir $dir
|
|
||||||
|
|
||||||
# touch bootstrapped sources because subversion doesn't sets the mtime of files
|
|
||||||
# to checkout time, not to the last mtime in the repository.
|
|
||||||
MTIME=`date +%Y%m%d%H%M.%S`
|
|
||||||
echo "** INFO -- Modification time: $MTIME"
|
|
||||||
find $dir -print | xargs touch -t $MTIME
|
|
||||||
# end of touch
|
|
||||||
|
|
||||||
mkdir $out
|
|
||||||
tar zcf $out/$dir.tar.gz $dir
|
|
@ -1,9 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
cd findutils-* || exit 1
|
|
||||||
./configure --prefix=$out || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
@ -1,13 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "findutils-4.1.20")
|
|
||||||
|
|
||||||
, ("build", Relative("findutils/findutils-build.sh"))
|
|
||||||
|
|
||||||
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "ftp://alpha.gnu.org/pub/gnu/findutils/findutils-4.1.20.tar.gz")
|
|
||||||
, ("md5", "e90ce7222daadeb8616b8db461e17cbc")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv-linux/stdenv-nativetools.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,31 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
envpkgs="$gtk $libIDL"
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
export PATH=$pkgconfig/bin:$perl/bin:$zip/bin:$unzip/bin:$PATH
|
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
cd mozilla || exit 1
|
|
||||||
|
|
||||||
cat > .mozconfig <<EOF
|
|
||||||
export MOZ_PHOENIX=1
|
|
||||||
mk_add_options MOZ_PHOENIX=1
|
|
||||||
ac_add_options --enable-crypto
|
|
||||||
ac_add_options --disable-tests
|
|
||||||
ac_add_options --disable-debug
|
|
||||||
ac_add_options --disable-mailnews
|
|
||||||
ac_add_options --disable-composer
|
|
||||||
ac_add_options --enable-optimize=-O2
|
|
||||||
ac_add_options --disable-ldap
|
|
||||||
ac_add_options --disable-mailnews
|
|
||||||
ac_add_options --enable-extensions=default,-inspector,-irc,-venkman,-content-packs,-help
|
|
||||||
ac_add_options --enable-xft
|
|
||||||
ac_add_options --enable-swg
|
|
||||||
ac_add_options --enable-strip
|
|
||||||
ac_add_options --enable-default-toolkit=gtk2
|
|
||||||
EOF
|
|
||||||
echo "ac_add_options --prefix=$out" >> .mozconfig
|
|
||||||
|
|
||||||
./configure || exit 1
|
|
||||||
make -f client.mk build || exit 1
|
|
||||||
make install || exit 1
|
|
@ -1,18 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "firebird-0.7")
|
|
||||||
|
|
||||||
, ("build", Relative("firebird/firebird-build.sh"))
|
|
||||||
|
|
||||||
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "ftp://ftp.mozilla.org/pub/mozilla.org/firebird/releases/0.7/MozillaFirebird-source-0.7.tar.gz")
|
|
||||||
, ("md5", "35112566a3dca5bdf363972056afc462")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
, ("pkgconfig", IncludeFix("pkgconfig/pkgconfig.fix"))
|
|
||||||
, ("gtk", IncludeFix("gtk+/gtk+.fix"))
|
|
||||||
, ("perl", IncludeFix("perl/perl.fix"))
|
|
||||||
, ("zip", IncludeFix("zip/zip.fix"))
|
|
||||||
, ("libIDL", IncludeFix("libIDL/libIDL.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,10 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
export PATH=$yacc/bin:$PATH
|
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
cd flex-* || exit 1
|
|
||||||
./configure --prefix=$out || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
@ -1,15 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "flex-2.5.4a")
|
|
||||||
|
|
||||||
, ("build", Relative("flex/flex-build.sh"))
|
|
||||||
|
|
||||||
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "ftp://ftp.nluug.nl/pub/gnu/flex/flex-2.5.4a.tar.gz")
|
|
||||||
, ("md5", "bd8753d0b22e1f4ec87a553a73021adf")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
, ("yacc", IncludeFix("bison/bison.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
envpkgs="$freetype $expat $x11"
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
export PATH=$ed/bin:$PATH
|
|
||||||
|
|
||||||
# Fontconfig generates a bad `fonts.conf' file is the timezone is not known
|
|
||||||
# (because it calls `date').
|
|
||||||
export TZ=UTC
|
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
cd fontconfig-* || exit 1
|
|
||||||
./configure --prefix=$out --with-confdir=$out/etc/fonts \
|
|
||||||
--x-includes=$x11/include --x-libraries=$x11/lib \
|
|
||||||
--with-expat-includes=$expat/include --with-expat-lib=$expat/lib || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
||||||
|
|
||||||
echo $envpkgs > $out/envpkgs || exit 1
|
|
@ -1,17 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "fontconfig-2.2.90")
|
|
||||||
|
|
||||||
, ("build", Relative("fontconfig/fontconfig-build.sh"))
|
|
||||||
|
|
||||||
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "http://pdx.freedesktop.org/software/fontconfig/releases/fontconfig-2.2.90.tar.gz")
|
|
||||||
, ("md5", "5cb87476743be1bbf1674ed72a76ae6a")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
, ("x11", IncludeFix("xfree86/xfree86.fix"))
|
|
||||||
, ("freetype", IncludeFix("freetype/freetype.fix"))
|
|
||||||
, ("expat", IncludeFix("expat/expat.fix"))
|
|
||||||
, ("ed", IncludeFix("ed/ed.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,10 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
|
|
||||||
tar xvfj $src || exit 1
|
|
||||||
cd freetype-* || exit 1
|
|
||||||
./configure --prefix=$out || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
||||||
strip -S $out/lib/*.a || exit 1
|
|
@ -1,12 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "freetype-2.1.4")
|
|
||||||
, ("build", Relative("freetype/freetype-build.sh"))
|
|
||||||
|
|
||||||
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "http://easynews.dl.sourceforge.net/sourceforge/freetype/freetype-2.1.4.tar.bz2")
|
|
||||||
, ("md5", "1fc0b188f1fe1216776e5855d2da141f")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,9 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
|
|
||||||
tar xvfj $src || exit 1
|
|
||||||
cd gawk-* || exit 1
|
|
||||||
./configure --prefix=$out || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
@ -1,13 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "gawk-3.1.3")
|
|
||||||
|
|
||||||
, ("build", Relative("gawk/gawk-build.sh"))
|
|
||||||
|
|
||||||
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "ftp://ftp.nluug.nl/pub/gnu/gawk/gawk-3.1.3.tar.bz2")
|
|
||||||
, ("md5", "a116eec17e7ba085febb74c7758823bd")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv-linux/stdenv-nativetools.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,50 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
export PATH=$binutils/bin:$PATH
|
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
|
|
||||||
# Disable the standard include directories.
|
|
||||||
cd gcc-* || exit 1
|
|
||||||
cat >> ./gcc/cppdefault.h <<EOF
|
|
||||||
#undef LOCAL_INCLUDE_DIR
|
|
||||||
#undef SYSTEM_INCLUDE_DIR
|
|
||||||
#undef STANDARD_INCLUDE_DIR
|
|
||||||
EOF
|
|
||||||
cd .. || exit 1
|
|
||||||
|
|
||||||
# Configure.
|
|
||||||
mkdir build || exit 1
|
|
||||||
cd build || exit 1
|
|
||||||
../gcc-*/configure --prefix=$out --enable-languages=c || exit 1
|
|
||||||
|
|
||||||
# Patch some of the makefiles to force linking against our own glibc.
|
|
||||||
extraflags="-Wl,-s $NIX_CFLAGS_COMPILE $NIX_CFLAGS_LINK"
|
|
||||||
for i in $NIX_LDFLAGS; do
|
|
||||||
extraflags="$extraflags -Wl,$i"
|
|
||||||
done
|
|
||||||
|
|
||||||
mf=Makefile
|
|
||||||
sed \
|
|
||||||
-e "s^FLAGS_FOR_TARGET =\(.*\)^FLAGS_FOR_TARGET = \1 $extraflags^" \
|
|
||||||
< $mf > $mf.tmp || exit 1
|
|
||||||
mv $mf.tmp $mf
|
|
||||||
|
|
||||||
mf=gcc/Makefile
|
|
||||||
sed \
|
|
||||||
-e "s^X_CFLAGS =\(.*\)^X_CFLAGS = \1 $extraflags^" \
|
|
||||||
< $mf > $mf.tmp || exit 1
|
|
||||||
mv $mf.tmp $mf
|
|
||||||
|
|
||||||
# Patch gcc/Makefile to prevent fixinc.sh from "fixing" system header files
|
|
||||||
# from /usr/include.
|
|
||||||
mf=gcc/Makefile
|
|
||||||
sed \
|
|
||||||
-e "s^NATIVE_SYSTEM_HEADER_DIR =\(.*\)^NATIVE_SYSTEM_HEADER_DIR = /fixinc-disabled^" \
|
|
||||||
< $mf > $mf.tmp || exit 1
|
|
||||||
mv $mf.tmp $mf
|
|
||||||
|
|
||||||
# Build and install.
|
|
||||||
make bootstrap || exit 1
|
|
||||||
make install || exit 1
|
|
@ -1,13 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "gcc-2.95.3")
|
|
||||||
|
|
||||||
, ("build", Relative("gcc-2.95/gcc-build.sh"))
|
|
||||||
|
|
||||||
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "ftp://ftp.nluug.nl/pub/gnu/gcc/gcc-2.95.3/gcc-2.95.3.tar.gz")
|
|
||||||
, ("md5", "f3ad4f32c2296fad758ed051b5ac8e28")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,52 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
export PATH=$binutils/bin:$PATH
|
|
||||||
|
|
||||||
tar xvfj $src || exit 1
|
|
||||||
|
|
||||||
# Disable the standard include directories.
|
|
||||||
cd gcc-* || exit 1
|
|
||||||
cat >> ./gcc/cppdefault.h <<EOF
|
|
||||||
#undef LOCAL_INCLUDE_DIR
|
|
||||||
#undef SYSTEM_INCLUDE_DIR
|
|
||||||
#undef STANDARD_INCLUDE_DIR
|
|
||||||
EOF
|
|
||||||
cd .. || exit 1
|
|
||||||
|
|
||||||
# Configure.
|
|
||||||
mkdir build || exit 1
|
|
||||||
cd build || exit 1
|
|
||||||
../gcc-*/configure --prefix=$out --enable-languages=c,c++ || exit 1
|
|
||||||
|
|
||||||
# Patch some of the makefiles to force linking against our own glibc.
|
|
||||||
extraflags="-Wl,-s -isystem $linux/include $NIX_CFLAGS_COMPILE $NIX_CFLAGS_LINK"
|
|
||||||
for i in $NIX_LDFLAGS; do
|
|
||||||
extraflags="$extraflags -Wl,$i"
|
|
||||||
done
|
|
||||||
|
|
||||||
mf=Makefile
|
|
||||||
sed \
|
|
||||||
-e "s^FLAGS_FOR_TARGET =\(.*\)^FLAGS_FOR_TARGET = \1 $extraflags^" \
|
|
||||||
< $mf > $mf.tmp || exit 1
|
|
||||||
mv $mf.tmp $mf
|
|
||||||
|
|
||||||
mf=gcc/Makefile
|
|
||||||
sed \
|
|
||||||
-e "s^X_CFLAGS =\(.*\)^X_CFLAGS = \1 $extraflags^" \
|
|
||||||
< $mf > $mf.tmp || exit 1
|
|
||||||
mv $mf.tmp $mf
|
|
||||||
|
|
||||||
# Patch gcc/Makefile to prevent fixinc.sh from "fixing" system header files
|
|
||||||
# from /usr/include.
|
|
||||||
mf=gcc/Makefile
|
|
||||||
sed \
|
|
||||||
-e "s^NATIVE_SYSTEM_HEADER_DIR =\(.*\)^NATIVE_SYSTEM_HEADER_DIR = /fixinc-disabled^" \
|
|
||||||
< $mf > $mf.tmp || exit 1
|
|
||||||
mv $mf.tmp $mf
|
|
||||||
|
|
||||||
# Build and install.
|
|
||||||
make bootstrap || exit 1
|
|
||||||
make install || exit 1
|
|
||||||
|
|
||||||
find $out -name "*.a" -exec strip -S {} \; || exit 1
|
|
@ -1,15 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "gcc-3.3.1")
|
|
||||||
|
|
||||||
, ("build", Relative("gcc/gcc-build.sh"))
|
|
||||||
|
|
||||||
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "ftp://ftp.nluug.nl/pub/gnu/gcc/gcc-3.3.1/gcc-3.3.1.tar.bz2")
|
|
||||||
, ("md5", "1135a104e9fa36fdf7c663598fab5c40")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv-linux/stdenv-nativetools.fix"))
|
|
||||||
, ("binutils", IncludeFix("binutils/binutils.fix"))
|
|
||||||
, ("linux", IncludeFix("linux-headers/linux-headers.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,8 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
cd getopt-* || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install prefix=$out || exit 1
|
|
@ -1,14 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "getopt-1.1.3")
|
|
||||||
|
|
||||||
, ("build", Relative("getopt/getopt-build.sh"))
|
|
||||||
|
|
||||||
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "http://huizen.dds.nl/~frodol/getopt-1.1.3.tar.gz")
|
|
||||||
, ("md5", "7b7637dcb0ac531f1af29f4d6b018e86")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
cd gettext-* || exit 1
|
|
||||||
./configure --prefix=$out || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
@ -1,13 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "gettext-0.12.1")
|
|
||||||
|
|
||||||
, ("build", Relative("gettext/gettext-build.sh"))
|
|
||||||
|
|
||||||
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "ftp://ftp.nluug.nl/pub/gnu/gettext/gettext-0.12.1.tar.gz")
|
|
||||||
, ("md5", "5d4bddd300072315e668247e5b7d5bdb")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,9 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
cd glib-* || exit 1
|
|
||||||
./configure --prefix=$out || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
@ -1,12 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "glib-1.2.10")
|
|
||||||
, ("build", Relative("glib-1/glib-build.sh"))
|
|
||||||
|
|
||||||
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "ftp://ftp.gtk.org/pub/gtk/v1.2/glib-1.2.10.tar.gz")
|
|
||||||
, ("md5", "6fe30dad87c77b91b632def29dd69ef9")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,10 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
export PATH=$pkgconfig/bin:$gettext/bin:$perl/bin:$PATH
|
|
||||||
|
|
||||||
tar xvfj $src || exit 1
|
|
||||||
cd glib-* || exit 1
|
|
||||||
./configure --prefix=$out || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
@ -1,16 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "glib-2.2.3")
|
|
||||||
|
|
||||||
, ("build", Relative("glib/glib-build.sh"))
|
|
||||||
|
|
||||||
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "ftp://ftp.gtk.org/pub/gtk/v2.2/glib-2.2.3.tar.bz2")
|
|
||||||
, ("md5", "aa214a10d873b68ddd67cd9de2ccae55")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
, ("pkgconfig", IncludeFix("pkgconfig/pkgconfig.fix"))
|
|
||||||
, ("gettext", IncludeFix("gettext/gettext.fix"))
|
|
||||||
, ("perl", IncludeFix("perl/perl.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,20 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
export PATH=/bin:/usr/bin
|
|
||||||
|
|
||||||
tar xvfj $glibcSrc || exit 1
|
|
||||||
(cd glibc-* && tar xvfj $linuxthreadsSrc) || exit 1
|
|
||||||
|
|
||||||
mkdir build || exit 1
|
|
||||||
cd build || exit 1
|
|
||||||
LDFLAGS=-Wl,-S ../glibc-*/configure --prefix=$out --enable-add-ons --disable-profile || exit 1
|
|
||||||
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
||||||
make localedata/install-locales || exit 1
|
|
||||||
strip -S $out/lib/*.a $out/lib/*.so $out/lib/gconv/*.so
|
|
||||||
strip -s $out/bin/* $out/sbin/* $out/libexec/*
|
|
||||||
|
|
||||||
ln -sf /etc/ld.so.cache $out/etc/ld.so.cache || exit 1
|
|
||||||
|
|
||||||
exit 0
|
|
@ -1,16 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "glibc-2.3.2")
|
|
||||||
|
|
||||||
, ("build", Relative("glibc/glibc-build.sh"))
|
|
||||||
|
|
||||||
, ("glibcSrc", App(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "ftp://ftp.nl.net/pub/gnu/glibc/glibc-2.3.2.tar.bz2")
|
|
||||||
, ("md5", "ede969aad568f48083e413384f20753c")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("linuxthreadsSrc", App(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "ftp://ftp.nl.net/pub/gnu/glibc/glibc-linuxthreads-2.3.2.tar.bz2")
|
|
||||||
, ("md5", "894b8969cfbdf787c73e139782167607")
|
|
||||||
]))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,13 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
envpkgs="$glib"
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
export PATH=$pkgconfig/bin:$PATH
|
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
cd gnet-* || exit 1
|
|
||||||
./configure --prefix=$out || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
||||||
|
|
||||||
echo $envpkgs > $out/envpkgs || exit 1
|
|
@ -1,15 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "gnet-2.0.4")
|
|
||||||
|
|
||||||
, ("build", Relative("gnet/gnet-build.sh"))
|
|
||||||
|
|
||||||
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "http://www.gnetlibrary.org/src/gnet-2.0.4.tar.gz")
|
|
||||||
, ("md5", "b43e728391143214e2cfd0b835b6fd2a")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
, ("pkgconfig", IncludeFix("pkgconfig/pkgconfig.fix"))
|
|
||||||
, ("glib", IncludeFix("glib/glib.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,10 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
envpkgs="$pcre"
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
|
|
||||||
tar xvfj $src || exit 1
|
|
||||||
cd grep-* || exit 1
|
|
||||||
./configure --prefix=$out || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
@ -1,14 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "gnugrep-2.5.1")
|
|
||||||
|
|
||||||
, ("build", Relative("gnugrep/gnugrep-build.sh"))
|
|
||||||
|
|
||||||
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "ftp://ftp.nluug.nl/pub/gnu/grep/grep-2.5.1.tar.bz2")
|
|
||||||
, ("md5", "ddd99e2d5d4f4611357e31e97f080cf2")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv-linux/stdenv-nativetools.fix"))
|
|
||||||
, ("pcre", IncludeFix("pcre/pcre.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,9 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
cd m4-* || exit 1
|
|
||||||
./configure --prefix=$out || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
@ -1,13 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "gnum4-1.4")
|
|
||||||
|
|
||||||
, ("build", Relative("gnum4/gnum4-build.sh"))
|
|
||||||
|
|
||||||
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "ftp://ftp.nluug.nl/pub/gnu/m4/m4-1.4.tar.gz")
|
|
||||||
, ("md5", "9eb2dd07740b2d2f3c7adb3e8d299bda")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,9 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
|
|
||||||
tar xvfj $src || exit 1
|
|
||||||
cd make-* || exit 1
|
|
||||||
./configure --prefix=$out || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
@ -1,13 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "gnumake-3.80")
|
|
||||||
|
|
||||||
, ("build", Relative("gnumake/gnumake-build.sh"))
|
|
||||||
|
|
||||||
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "ftp://ftp.nluug.nl/pub/gnu/make/make-3.80.tar.bz2")
|
|
||||||
, ("md5", "0bbd1df101bc0294d440471e50feca71")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv-linux/stdenv-nativetools.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,9 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
cd patch-* || exit 1
|
|
||||||
./configure --prefix=$out || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
@ -1,13 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "gnupatch-2.5.4")
|
|
||||||
|
|
||||||
, ("build", Relative("gnupatch/gnupatch-build.sh"))
|
|
||||||
|
|
||||||
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "ftp://ftp.nluug.nl/pub/gnu/patch/patch-2.5.4.tar.gz")
|
|
||||||
, ("md5", "ee5ae84d115f051d87fcaaef3b4ae782")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,9 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
cd sed-* || exit 1
|
|
||||||
./configure --prefix=$out || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
@ -1,13 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "gnused-4.0.7")
|
|
||||||
|
|
||||||
, ("build", Relative("gnused/gnused-build.sh"))
|
|
||||||
|
|
||||||
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "ftp://ftp.nluug.nl/pub/gnu/sed/sed-4.0.7.tar.gz")
|
|
||||||
, ("md5", "005738e7f97bd77d95b6907156c8202a")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv-linux/stdenv-nativetools.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,9 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
cd tar-* || exit 1
|
|
||||||
./configure --prefix=$out || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
@ -1,13 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "gnutar-1.13.25")
|
|
||||||
|
|
||||||
, ("build", Relative("gnutar/gnutar-build.sh"))
|
|
||||||
|
|
||||||
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "ftp://alpha.gnu.org/gnu/tar/tar-1.13.25.tar.gz")
|
|
||||||
, ("md5", "6ef8c906e81eee441f8335652670ac4a")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv-linux/stdenv-nativetools.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,4 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
set -e
|
|
||||||
$pkgbuild --with-aterm=$aterm --with-sdf=$sdf2 --with-srts=$srts --with-xtc=$xtc \
|
|
||||||
--with-stratego-front=$stratego_front
|
|
@ -1,21 +0,0 @@
|
|||||||
Function(["rev"],
|
|
||||||
Package(
|
|
||||||
[ ("name", "gpp")
|
|
||||||
|
|
||||||
, ("build", Relative("gpp/gpp-build.sh"))
|
|
||||||
, ("pkgbuild", Relative("strategoxt/pkg-build.sh"))
|
|
||||||
|
|
||||||
, ("src", App(IncludeFix("strategoxt/fetchsvn.fix"),
|
|
||||||
[ ("name", "gpp"), ("rev", Var("rev"))]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
, ("aterm", IncludeFix("aterm/aterm.fix"))
|
|
||||||
, ("sdf2", IncludeFix("sdf2/sdf2.fix"))
|
|
||||||
, ("autoxt", App(IncludeFix("autoxt/autoxt.fix"),[("rev",Var("rev"))]))
|
|
||||||
, ("srts", App(IncludeFix("srts/srts.fix"),[("rev",Var("rev"))]))
|
|
||||||
, ("xtc", App(IncludeFix("xtc/xtc.fix"),[("rev",Var("rev"))]))
|
|
||||||
, ("stratego_front",
|
|
||||||
App(IncludeFix("stratego-front/stratego-front.fix"),[("rev",Var("rev"))]))
|
|
||||||
]
|
|
||||||
)
|
|
||||||
)
|
|
@ -1,13 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
envpkgs="$gtk $libpng $zlib"
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
export PATH=$pkgconfig/bin:$PATH
|
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE="-I$libpng/include -I$zlib/include $NIX_CFLAGS_COMPILE"
|
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
cd gqview-* || exit 1
|
|
||||||
./configure --prefix=$out || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
@ -1,17 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "gqview-1.3.2")
|
|
||||||
|
|
||||||
, ("build", Relative("gqview/gqview-build.sh"))
|
|
||||||
|
|
||||||
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "http://heanet.dl.sourceforge.net/sourceforge/gqview/gqview-1.3.2.tar.gz")
|
|
||||||
, ("md5", "0f2ce36475b2cdc8013545f5e3268034")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
, ("pkgconfig", IncludeFix("pkgconfig/pkgconfig.fix"))
|
|
||||||
, ("gtk", IncludeFix("gtk+/gtk+.fix"))
|
|
||||||
, ("libpng", IncludeFix("libpng/libpng.fix"))
|
|
||||||
, ("zlib", IncludeFix("zlib/zlib.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,12 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
envpkgs="$zlib $libpng $libjpeg $expat $freetype"
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE="-I$zlib/include -I$libpng/include -I$libjpeg/include -I$expat/include $NIX_CFLAGS_COMPILE"
|
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
cd graphviz-* || exit 1
|
|
||||||
./configure --prefix=$out --x-includes=$x11/include --x-libraries=$x11/lib || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
@ -1,19 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "graphviz-1.10")
|
|
||||||
|
|
||||||
, ("build", Relative("graphviz/graphviz-build.sh"))
|
|
||||||
|
|
||||||
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-1.10.tar.gz")
|
|
||||||
, ("md5", "e1402531abff68d146bf94e72b44dc2a")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
, ("x11", IncludeFix("xfree86/xfree86.fix"))
|
|
||||||
, ("zlib", IncludeFix("zlib/zlib.fix"))
|
|
||||||
, ("libpng", IncludeFix("libpng/libpng.fix"))
|
|
||||||
, ("libjpeg", IncludeFix("libjpeg/libjpeg.fix"))
|
|
||||||
, ("expat", IncludeFix("expat/expat.fix"))
|
|
||||||
, ("freetype", IncludeFix("freetype/freetype.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,12 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
envpkgs="$glib $x11"
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
cd gtk+-* || exit 1
|
|
||||||
./configure --prefix=$out --x-includes=$x11/include --x-libraries=$x11/lib || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
||||||
|
|
||||||
echo $envpkgs > $out/envpkgs || exit 1
|
|
@ -1,15 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "gtk+-1.2.10")
|
|
||||||
|
|
||||||
, ("build", Relative("gtk+-1/gtk+-build.sh"))
|
|
||||||
|
|
||||||
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "ftp://ftp.gtk.org/pub/gtk/v1.2/gtk+-1.2.10.tar.gz")
|
|
||||||
, ("md5", "4d5cb2fc7fb7830e4af9747a36bfce20")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
, ("x11", IncludeFix("xfree86/xfree86.fix"))
|
|
||||||
, ("glib", IncludeFix("glib-1/glib.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,18 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
envpkgs="$glib $atk $pango $tiff $jpeg $png $x11"
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
export PATH=$pkgconfig/bin:$perl/bin:$PATH
|
|
||||||
|
|
||||||
# !!! abstraction problem: libtiff optionally needs libjpeg's headers.
|
|
||||||
# idem for libpng depending on zlib
|
|
||||||
export NIX_CFLAGS_COMPILE="-I$tiff/include -I$jpeg/include -I$png/include -I$zlib/include $NIX_CFLAGS_COMPILE"
|
|
||||||
|
|
||||||
tar xvfj $src || exit 1
|
|
||||||
cd gtk+-* || exit 1
|
|
||||||
./configure --prefix=$out --x-includes=$x11/include --x-libraries=$x11/lib \
|
|
||||||
--with-libtiff=$tiff || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
||||||
|
|
||||||
echo $envpkgs > $out/envpkgs || exit 1
|
|
@ -1,23 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "gtk+-2.2.4")
|
|
||||||
|
|
||||||
, ("build", Relative("gtk+/gtk+-build.sh"))
|
|
||||||
|
|
||||||
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "ftp://ftp.gtk.org/pub/gtk/v2.2/gtk+-2.2.4.tar.bz2")
|
|
||||||
, ("md5", "605332199533e73bc6eec481fb4f1671")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
, ("pkgconfig", IncludeFix("pkgconfig/pkgconfig.fix"))
|
|
||||||
, ("x11", IncludeFix("xfree86/xfree86.fix"))
|
|
||||||
, ("glib", IncludeFix("glib/glib.fix"))
|
|
||||||
, ("atk", IncludeFix("atk/atk.fix"))
|
|
||||||
, ("pango", IncludeFix("pango/pango.fix"))
|
|
||||||
, ("perl", IncludeFix("perl/perl.fix"))
|
|
||||||
, ("tiff", IncludeFix("libtiff/libtiff.fix"))
|
|
||||||
, ("jpeg", IncludeFix("libjpeg/libjpeg.fix"))
|
|
||||||
, ("png", IncludeFix("libpng/libpng.fix"))
|
|
||||||
, ("zlib", IncludeFix("zlib/zlib.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,14 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
envpkgs="$gtk $pspell"
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
export PATH=$pkgconfig/bin:$PATH
|
|
||||||
export NIX_CFLAGS_COMPILE="-I$pspell/include $NIX_CFLAGS_COMPILE"
|
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
cd gtkspell-* || exit 1
|
|
||||||
./configure --prefix=$out --disable-gtk-doc || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
||||||
|
|
||||||
echo $envpkgs > $out/envpkgs || exit 1
|
|
@ -1,16 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "gtkspell-2.0.4")
|
|
||||||
|
|
||||||
, ("build", Relative("gtkspell/gtkspell-build.sh"))
|
|
||||||
|
|
||||||
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "http://gtkspell.sourceforge.net/download/gtkspell-2.0.4.tar.gz")
|
|
||||||
, ("md5", "4ded985b8eefdf9ac6fbf79cad69ccbd")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
|
|
||||||
, ("pkgconfig", IncludeFix("pkgconfig/pkgconfig.fix"))
|
|
||||||
, ("gtk", IncludeFix("gtk+/gtk+.fix"))
|
|
||||||
, ("pspell", IncludeFix("pspell/pspell.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,9 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
cd gzip-* || exit 1
|
|
||||||
./configure --prefix=$out || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
@ -1,13 +0,0 @@
|
|||||||
Package(
|
|
||||||
[ ("name", "gzip-1.3.3")
|
|
||||||
|
|
||||||
, ("build", Relative("gzip/gzip-build.sh"))
|
|
||||||
|
|
||||||
, ("src", Call(IncludeFix("fetchurl/fetchurl.fix"),
|
|
||||||
[ ("url", "http://www.gzip.org/gzip-1.3.3.tar.gz")
|
|
||||||
, ("md5", "52eaf713673507d21f7abefee98ba662")
|
|
||||||
]))
|
|
||||||
|
|
||||||
, ("stdenv", IncludeFix("stdenv-linux/stdenv-nativetools.fix"))
|
|
||||||
]
|
|
||||||
)
|
|
@ -1,15 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
envpkgs="$ssl $db4 $expat"
|
|
||||||
. $stdenv/setup || exit 1
|
|
||||||
export PATH=$perl/bin:$PATH
|
|
||||||
|
|
||||||
tar xvfz $src || exit 1
|
|
||||||
cd httpd-* || exit 1
|
|
||||||
./configure --prefix=$out --enable-ssl --with-ssl=$ssl --with-berkeley-db=$db4 \
|
|
||||||
--with-expat=$expat --enable-mods-shared=all --without-gdbm \
|
|
||||||
--enable-threads --with-devrandom=/dev/urandom || exit 1
|
|
||||||
make || exit 1
|
|
||||||
make install || exit 1
|
|
||||||
strip -S $out/lib/*.a || exit 1
|
|
||||||
rm -rf $out/manual || exit 1
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user