X-Git-Url: http://gitweb/?a=blobdiff_plain;f=man-pages%2FPkgfile;h=b9b44263649c4935b8caf2904b3d146e3bfa44e6;hb=abb67c5781e91c932bea4b44fa9c91182ab4652b;hp=fff35ccbfc8e805b14b6a0082954750c4c86fc93;hpb=bc5aaa52c7e4f95f880dd650c4a45b8733d493b9;p=crossrootfs.git diff --git a/man-pages/Pkgfile b/man-pages/Pkgfile index fff35cc..b9b4426 100644 --- a/man-pages/Pkgfile +++ b/man-pages/Pkgfile @@ -1,23 +1,23 @@ # Description: The Linux manpages collection -# URL: http://www.kernel.org/doc/man-pages/ +# URL: http://man7.org/linux/man-pages/index.html # Maintainer: CRUX System Team, core-ports at crux dot nu # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu -# Depends on: man name=man-pages -version=3.24 +version=4.02 release=1 -source=(http://www.kernel.org/pub/linux/docs/man-pages/Archive/$name-$version.tar.bz2 \ - http://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/man-pages-posix-2003-a.tar.bz2) +source=(http://www.kernel.org/pub/linux/docs/$name/$name-$version.tar.xz \ + http://www.kernel.org/pub/linux/docs/$name/$name-posix/$name-posix-2013-a.tar.xz) build() { cd $name-$version - rm man1/time.1 man5/passwd.5 man2/quotactl.2 - make gz - make MANDIR=/usr/man DESTDIR=$PKG install + rm man1/time.1 man5/passwd.5 man5/attr.5 + make CC="$CC" AR="$AR" RANLIB="$RANLIB" OPT="$CFLAGS" gz + make DESTDIR=$PKG install - cd ../$name-posix-2003-a - make gz - make MANDIR=/usr/man DESTDIR=$PKG install - touch $PKG/usr/man/whatis + cd $SRC/$name-posix-2013-a + make CC="$CC" AR="$AR" RANLIB="$RANLIB" OPT="$CFLAGS" gz + make DESTDIR=$PKG install + + touch $PKG/usr/share/man/whatis }