Major infrastructure changes, part 2.
* Moved helpers, common and triggers dirs into xbps-src, where
they belong.
* Renamed the templates dir to srcpkgs, it was so redundant before.
* Make it possible to add subpkgs with no restriction in names, for
example udev now has a subpkgs called "libgudev". Previously
subpkgs were named "${sourcepkg}-${pkgname}".
* xbps-src: changed to look for template files in current directory.
That means that most arguments from the targets have been removed.
* xbps-src: added a reinstall target, to remove + install.
* xbps-src: do not overwrite binpkgs by default, skip them.
And more that I forgot because it's a mega-commit that I've been
working for some days already...
--HG--
extra : convert_revision : 0f466878584d1e6895d2a234f07ea1b2d1e61b3e
This commit is contained in:
31
srcpkgs/procps/patches/fix_Makefile.diff
Normal file
31
srcpkgs/procps/patches/fix_Makefile.diff
Normal file
@@ -0,0 +1,31 @@
|
||||
Do not install kill and uptime, use /lib for all archs.
|
||||
|
||||
--- Makefile.orig 2006-06-24 11:02:25.000000000 +0200
|
||||
+++ Makefile 2008-10-24 08:40:57.000000000 +0200
|
||||
@@ -39,20 +39,20 @@ usr/proc/bin := $(DESTDIR)/u
|
||||
man1 := $(DESTDIR)/usr/share/man/man1/
|
||||
man5 := $(DESTDIR)/usr/share/man/man5/
|
||||
man8 := $(DESTDIR)/usr/share/man/man8/
|
||||
-lib := $(DESTDIR)/$(lib64)/
|
||||
-usr/lib := $(DESTDIR)/usr/$(lib64)/
|
||||
+lib := $(DESTDIR)/lib/
|
||||
+usr/lib := $(DESTDIR)/usr/lib/
|
||||
usr/include := $(DESTDIR)/usr/include/
|
||||
|
||||
#SKIP := $(bin)kill $(man1)kill.1
|
||||
|
||||
-BINFILES := $(usr/bin)uptime $(usr/bin)tload $(usr/bin)free $(usr/bin)w \
|
||||
+BINFILES := $(usr/bin)tload $(usr/bin)free $(usr/bin)w \
|
||||
$(usr/bin)top $(usr/bin)vmstat $(usr/bin)watch $(usr/bin)skill \
|
||||
- $(usr/bin)snice $(bin)kill $(sbin)sysctl $(usr/bin)pmap \
|
||||
+ $(usr/bin)snice $(sbin)sysctl $(usr/bin)pmap \
|
||||
$(usr/proc/bin)pgrep $(usr/proc/bin)pkill $(usr/bin)slabtop \
|
||||
$(usr/proc/bin)pwdx
|
||||
|
||||
-MANFILES := $(man1)uptime.1 $(man1)tload.1 $(man1)free.1 $(man1)w.1 \
|
||||
- $(man1)top.1 $(man1)watch.1 $(man1)skill.1 $(man1)kill.1 \
|
||||
+MANFILES := $(man1)tload.1 $(man1)free.1 $(man1)w.1 \
|
||||
+ $(man1)top.1 $(man1)watch.1 $(man1)skill.1 \
|
||||
$(man1)snice.1 $(man1)pgrep.1 $(man1)pkill.1 $(man1)pmap.1 \
|
||||
$(man5)sysctl.conf.5 $(man8)vmstat.8 $(man8)sysctl.8 \
|
||||
$(man1)slabtop.1 $(man1)pwdx.1
|
||||
18
srcpkgs/procps/template
Normal file
18
srcpkgs/procps/template
Normal file
@@ -0,0 +1,18 @@
|
||||
# Template file for 'procps'
|
||||
pkgname=procps
|
||||
version=3.2.8
|
||||
distfiles="http://procps.sf.net/$pkgname-$version.tar.gz"
|
||||
build_style=gnu_makefile
|
||||
short_desc="The /proc file system utilities"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
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."
|
||||
|
||||
Add_dependency full glibc
|
||||
Add_dependency full ncurses
|
||||
Reference in New Issue
Block a user