mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 04:31:52 +00:00
Added the package man-pages.
svn path=/nixpkgs/trunk/; revision=6071
This commit is contained in:
parent
6742ffca0f
commit
a4b37a367a
9
pkgs/development/misc/man-pages/builder.sh
Normal file
9
pkgs/development/misc/man-pages/builder.sh
Normal file
|
@ -0,0 +1,9 @@
|
|||
source $stdenv/setup
|
||||
|
||||
tar zxf $src
|
||||
cd man-pages-*
|
||||
|
||||
sed -e "s#^MANDIR=.*#MANDIR=$out/share/man#" Makefile > Makefile.tmp
|
||||
mv Makefile.tmp Makefile
|
||||
|
||||
make install
|
10
pkgs/development/misc/man-pages/default.nix
Normal file
10
pkgs/development/misc/man-pages/default.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "man-pages-2.39";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.win.tue.nl/pub/linux-local/manpages/man-pages-2.39.tar.gz;
|
||||
md5 = "770f4e5b1a1298ed054ceae7cdbbbba4";
|
||||
};
|
||||
}
|
|
@ -140,6 +140,10 @@ rec {
|
|||
inherit fetchurl stdenv db4 groff;
|
||||
};
|
||||
|
||||
manpages = (import ../development/misc/man-pages) {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
parted = (import ../tools/misc/parted) {
|
||||
inherit fetchurl stdenv e2fsprogs ncurses readline;
|
||||
};
|
||||
|
@ -594,7 +598,11 @@ rec {
|
|||
m4 = gnum4;
|
||||
};
|
||||
|
||||
antlr = (import ../development/tools/parsing/antlr) {
|
||||
antlr3 = (import ../development/tools/parsing/antlr) {
|
||||
inherit fetchurl stdenv jre;
|
||||
};
|
||||
|
||||
antlr = (import ../development/tools/parsing/antlr/antlr-2.7.6.nix) {
|
||||
inherit fetchurl stdenv jre;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue