summaryrefslogtreecommitdiffstats
path: root/procps/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:12:28 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:12:28 +0100
commit9291e062cb24bac5d7c7059d4dc64669c1917b33 (patch)
treeae6f7e4fb2769d6c53b214c5e0b4d862f1df98dc /procps/Pkgfile
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.gz
nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.bz2
nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.xz
nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.zip
aaabasicfs 2011-3 et split des dépot base et extra en 2 git séparé
Diffstat (limited to 'procps/Pkgfile')
-rwxr-xr-xprocps/Pkgfile29
1 files changed, 29 insertions, 0 deletions
diff --git a/procps/Pkgfile b/procps/Pkgfile
new file mode 100755
index 000000000..acfc96b63
--- /dev/null
+++ b/procps/Pkgfile
@@ -0,0 +1,29 @@
+# Description: Utilitaire pour le système de fichiers /proc
+# URL: http://procps.sourceforge.net/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=procps
+version=3.2.8
+release=2
+
+source=(http://procps.sourceforge.net/$name-$version.tar.gz \
+ http://www.linuxfromscratch.org/patches/lfs/development/procps-$version-watch_unicode-1.patch \
+ http://www.linuxfromscratch.org/patches/lfs/development/procps-3.2.8-fix_HZ_errors-1.patch)
+
+build() {
+ cd $name-$version
+ patch -Np1 -i ../procps-3.2.8-fix_HZ_errors-1.patch
+ patch -Np1 -i ../procps-$version-watch_unicode-1.patch
+
+ sed -i -e 's@\*/module.mk@proc/module.mk ps/module.mk@' Makefile
+
+ make
+ make DESTDIR=$PKG \
+ ldconfig=true \
+ man1=$PKG/usr/share/man/man1/ \
+ man5=$PKG/usr/share/man/man5/ \
+ man8=$PKG/usr/share/man/man8/ install
+ chmod +w -R $PKG
+}