mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
chmlib: upgraded to 0.39
svn path=/nixpkgs/trunk/; revision=9675
This commit is contained in:
parent
a29cf805b7
commit
763f3b0794
2 changed files with 12 additions and 24 deletions
|
@ -1,19 +0,0 @@
|
|||
source $stdenv/setup
|
||||
|
||||
unpackCmd="tar xvfj $src"
|
||||
|
||||
makeFlags="-f Makefile.simple CC=gcc LD=gcc INSTALLPREFIX=$out"
|
||||
|
||||
postConfigure=postConfigure
|
||||
postConfigure() {
|
||||
cd src
|
||||
}
|
||||
|
||||
preInstall=preInstall
|
||||
preInstall() {
|
||||
mkdir $out
|
||||
mkdir $out/lib
|
||||
mkdir $out/include
|
||||
}
|
||||
|
||||
genericBuild
|
|
@ -1,9 +1,16 @@
|
|||
{stdenv, fetchurl}:
|
||||
args: with args;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "chmlib-0.38";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "chmlib-0.39";
|
||||
src = fetchurl {
|
||||
url = http://66.93.236.84/~jedwin/projects/chmlib/chmlib-0.38.tar.bz2;
|
||||
md5 = "d72661526aaea377ed30e9f58a086964";
|
||||
url = "${meta.homepage}/${name}.tar.bz2";
|
||||
sha256 = "0hgzw121ffmk79wbpkd0394y5ah99c3i85z6scp958mmkr25sc6j";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = http://www.jedrea.com/chmlib;
|
||||
license = "LGPL";
|
||||
description = "CHLIB is a library for dealing with Microsoft ITSS/CHM
|
||||
format files";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue