wok-next view procps/receipt @ rev 20859
Update ALSA stack (1.1.6)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 27 13:35:43 2018 +0300 (2018-06-27) |
parents | e294d3f75974 |
children | d5aab818505e |
line source
1 # SliTaz package receipt.
3 PACKAGE="procps"
4 VERSION="3.2.8"
5 CATEGORY="utilities"
6 SHORT_DESC="The proc filesystem utilities."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://procps.sourceforge.net/"
11 WGET_URL="http://procps.sourceforge.net/$TARBALL"
13 DEPENDS="ncurses"
14 BUILD_DEPENDS="ncurses-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 make && make -j1 install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $install/usr/bin $fs/usr
27 cp -a $install/bin $fs
28 cp -a $install/sbin $fs
29 cp -a $install/lib $fs
30 }
32 # Overlap busybox
33 pre_install()
34 {
35 rm -f "$1/bin/kill"
36 rm -f "$1/bin/ps"
37 rm -f "$1/bin/watch"
38 rm -f "$1/sbin/sysctl"
39 rm -f "$1/usr/bin/pkill"
40 rm -f "$1/usr/bin/pmap"
41 rm -f "$1/usr/bin/pgrep"
42 rm -f "$1/usr/bin/top"
43 rm -f "$1/usr/bin/free"
44 rm -f "$1/usr/bin/uptime"
45 }
47 post_remove()
48 {
49 ln -s /bin/busybox /bin/kill
50 ln -s /bin/busybox /bin/ps
51 ln -s /bin/busybox /bin/watch
52 ln -s /bin/busybox /sbin/sysctl
53 ln -s /bin/busybox /usr/bin/pkill
54 ln -s /bin/busybox /usr/bin/pmap
55 ln -s /bin/busybox /usr/bin/pgrep
56 ln -s /bin/busybox /usr/bin/top
57 ln -s /bin/busybox /usr/bin/free
58 ln -s /bin/busybox /usr/bin/uptime
59 }