mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
* Added libIDL (which is used by Mozilla).
svn path=/nixpkgs/trunk/; revision=279
This commit is contained in:
parent
81f3b0eaed
commit
3f6b9a05b0
18
pkgs/libIDL/libIDL-build.sh
Executable file
18
pkgs/libIDL/libIDL-build.sh
Executable 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
16
pkgs/libIDL/libIDL.fix
Normal 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"))
|
||||
]
|
||||
)
|
Loading…
Reference in New Issue
Block a user