3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libogg/default.nix
2012-08-23 15:01:00 -04:00

32 lines
683 B
Nix

{ stdenv, fetchurl, xz }:
stdenv.mkDerivation rec {
name = "libogg-1.3.0";
src = fetchurl {
url = "http://downloads.xiph.org/releases/ogg/${name}.tar.xz";
sha256 = "0jy79ffkl34vycnwfsj4svqsdg1lwy2l1rr49y8r4d44kh12a5r3";
};
buildNativeInputs = [ xz ];
outputs = [ "dev" "doc" "out" ];
configureFlags = [ "--includedir=$(dev)/include" ];
installFlags = [ "pkgconfigdir=$(dev)/lib/pkgconfig" ];
postInstall =
''
mkdir -p $doc/share/doc
mv $out/share/doc/* $doc/share/doc
mkdir -p $dev/nix-support
echo $out > $dev/nix-support/propagated-build-native-inputs
''; # */
meta = {
homepage = http://xiph.org/ogg/;
};
}