Adding multitran. I added a note in the 'data' expression, regarding

a locale that should be added into the system.

svn path=/nixpkgs/trunk/; revision=14582
This commit is contained in:
Lluís Batlle i Rossell
2009-03-17 21:49:39 +00:00
parent 7fd91b8736
commit e72f1929b0
7 changed files with 168 additions and 0 deletions
@@ -0,0 +1,24 @@
{stdenv, fetchurl, libmtsupport} :
stdenv.mkDerivation {
name = "libfacet-0.0.1alpha2";
src = fetchurl {
url = mirror://sourceforge/multitran/libfacet-0.0.1alpha2.tar.bz2;
sha256 = "dc53351c4035a3c27dc6c1d0410e808346fbc107e7e7c112ec65c59d0df7a144";
};
buildInputs = [ libmtsupport ];
patchPhase = ''
sed -i -e 's@\$(DESTDIR)/usr@'$out'@' \
-e 's@/usr/include/mt/support@${libmtsupport}/include/mt/support@' \
src/Makefile;
'';
meta = {
homepage = http://multitran.sourceforge.net/;
description = "Multitran lib: enchanced locale facets";
license = "GPLv2";
};
}