procps: create symlinks; remove long_desc; cross build support.

This commit is contained in:
Juan RP 2013-02-11 13:54:55 +01:00
parent 30d11a12c1
commit 9fbfdb5b01
2 changed files with 21 additions and 12 deletions

View file

@ -41,7 +41,7 @@
+ $(install) -m644 $< $@
-rm -f $(DESTDIR)/var/catman/cat1/ps.1.gz $(DESTDIR)/var/man/cat1/ps.1.gz
--- a/Makefile.orig 2009-05-10 20:50:48.000000000 +0200
+++ b/Makefile 2012-07-09 15:29:24.887255955 +0200
+++ b/Makefile 2013-02-11 13:52:37.814939368 +0100
@@ -24,35 +24,35 @@ TARVERSION := $(VERSION).$(SUBVERSION)
############ vars
@ -98,7 +98,7 @@
do_all: $(ALL)
@@ -222,10 +223,10 @@ clean:
@@ -222,14 +223,14 @@ clean:
###### install
$(BINFILES) : all
@ -110,4 +110,20 @@
+ $(install) -m644 $(notdir $@) $@
install: $(filter-out $(SKIP) $(addprefix $(DESTDIR),$(SKIP)),$(INSTALL))
cd $(usr/bin) && $(ln_f) skill snice
- cd $(usr/bin) && $(ln_f) skill snice
- cd $(usr/proc/bin) && $(ln_f) pgrep pkill
+ cd $(usr/bin) && $(ln_sf) skill snice
+ cd $(usr/proc/bin) && $(ln_sf) pgrep pkill
############ prog.c --> prog.o
@@ -255,7 +256,7 @@ watch: % : %.o
############ progX --> progY
snice kill: skill
- $(ln_f) skill $@
+ $(ln_sf) skill $@
pkill: pgrep
- $(ln_f) pgrep pkill
+ $(ln_sf) pgrep pkill

View file

@ -1,21 +1,14 @@
# Template file for 'procps'
pkgname=procps
version=3.2.8
revision=7
revision=8
patch_args="-Np1"
build_style=gnu-makefile
makedepends="ncurses-devel"
crossmakedepends="${makedepends}"
short_desc="The /proc file system utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, LGPL-2.1"
homepage="http://procps.sourceforge.net"
distfiles="http://procps.sf.net/$pkgname-$version.tar.gz"
checksum=11ed68d8a4433b91cd833deb714a3aa849c02aea738c42e6b4557982419c1535
long_desc="
procps is the package that has a bunch of small useful utilities that give
information about processes using the /proc filesystem. The package includes
the programs ps, top, vmstat, w, kill, free, slabtop, and skill.
Version 3 includes NPTL thread support, a rewritten top, many bug fixes,
performance improvements, and new features."