CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
signify: initial import
[crossrootfs.git] / man-pages / Pkgfile
index f39d6c96ea6678479a2a6469b5dee4ba1e480e8f..2aeb6e48f6db703403da4e4d6e2ade57f358535b 100644 (file)
@@ -1,23 +1,22 @@
 # 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.32
+version=4.09
 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 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
 }