| 1 | # Description: The Linux manpages collection |
| 2 | # URL: http://man7.org/linux/man-pages/index.html |
| 3 | # Maintainer: CRUX System Team, core-ports at crux dot nu |
| 4 | |
| 5 | name=man-pages |
| 6 | version=4.02 |
| 7 | release=1 |
| 8 | source=(http://www.kernel.org/pub/linux/docs/$name/$name-$version.tar.xz \ |
| 9 | http://www.kernel.org/pub/linux/docs/$name/$name-posix/$name-posix-2013-a.tar.xz) |
| 10 | |
| 11 | build() { |
| 12 | cd $name-$version |
| 13 | rm man1/time.1 man5/passwd.5 man5/attr.5 |
| 14 | make CC="$CC" AR="$AR" RANLIB="$RANLIB" OPT="$CFLAGS" gz |
| 15 | make DESTDIR=$PKG install |
| 16 | |
| 17 | cd $SRC/$name-posix-2013-a |
| 18 | make CC="$CC" AR="$AR" RANLIB="$RANLIB" OPT="$CFLAGS" gz |
| 19 | make DESTDIR=$PKG install |
| 20 | |
| 21 | touch $PKG/usr/share/man/whatis |
| 22 | } |