CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
man-pages: added new port
[crossrootfs.git] / man-pages / Pkgfile
... / ...
CommitLineData
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
5name=man-pages
6version=4.02
7release=1
8source=(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
11build() {
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}