* Added libIDL (which is used by Mozilla).

svn path=/nixpkgs/trunk/; revision=279
This commit is contained in:
Eelco Dolstra 2003-08-13 17:29:18 +00:00
parent 81f3b0eaed
commit 3f6b9a05b0
2 changed files with 34 additions and 0 deletions

18
pkgs/libIDL/libIDL-build.sh Executable file
View File

@ -0,0 +1,18 @@
#! /bin/sh
export NIX_LDFLAGS=-Wl,-s
. $stdenv/setup || exit 1
export PATH=$pkgconfig/bin:$PATH
envpkgs="$glib"
. $setenv || exit 1
tar xvfj $src || exit 1
cd libIDL-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1
strip -S $out/lib/*.a || exit 1
echo $envpkgs > $out/envpkgs || exit 1

16
pkgs/libIDL/libIDL.fix Normal file
View File

@ -0,0 +1,16 @@
Package(
[ ("name", "libIDL-0.8.2")
, ("build", Relative("libIDL/libIDL-build.sh"))
, ("setenv", Relative("helpers/set-env.sh"))
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
[ ("url", "ftp://ftp.gnome.org/pub/gnome/sources/libIDL/0.8/libIDL-0.8.2.tar.bz2")
, ("md5", "a75d2dbf3a3c66b567047c94245f8b82")
]))
, ("stdenv", IncludeFix("stdenv/stdenv.fix"))
, ("pkgconfig", IncludeFix("pkgconfig/pkgconfig.fix"))
, ("glib", IncludeFix("glib/glib.fix"))
]
)