CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
readline: updated to 7.0.3
[crossrootfs.git] / psmisc / Pkgfile
... / ...
CommitLineData
1# Description: Small utilities that use the /proc filesystem
2# URL: http://psmisc.sourceforge.net/
3# Maintainer: CRUX System Team, core-ports at crux dot nu
4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5# Depends on: ncurses
6
7name=psmisc
8version=23.1
9release=1
10source=(http://downloads.sourceforge.net/project/$name/$name/$name-$version.tar.xz)
11
12build() {
13 cd $name-$version
14
15 cat > config.cache << EOF
16ac_cv_func_malloc_0_nonnull=yes
17ac_cv_func_realloc_0_nonnull=yes
18EOF
19
20 ./configure --build=$CHOST \
21 --host=$CTARGET \
22 --prefix=/usr \
23 --disable-nls \
24 --cache-file=config.cache
25
26 make
27 make DESTDIR=$PKG install
28 rm -f $PKG/usr/bin/pstree.x11
29}