summaryrefslogtreecommitdiffstats
path: root/man-pages/Pkgfile
blob: fa3f4a30dde2a4470d5524c62bbc7525e286a7d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
description="The Linux manpages collection."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://www.kernel.org/doc/man-pages/"
depends=(man)

archs=(no-arch)
name=man-pages
version=3.32
release=1
source=(
	http://www.kernel.org/pub/linux/docs/$name/$name-$version.tar.bz2
	http://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/man-pages-posix-2003-a.tar.bz2
)
build () 
{ 
	cd $name-$version;
	rm man1/time.1 man5/passwd.5 man2/quotactl.2;
	make gz; # XXX: et si nous n’utilisons pas gz ?
	make MANDIR=$mandir DESTDIR=$PKG install;
	cd ../$name-posix-2003-a;
	make gz;
	make MANDIR=$mandir DESTDIR=$PKG install;
	touch $PKG$mandir/whatis
}