CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libgpg-error: initial import (verified compilation).
[attic/ports/opt-cross.git] / dialog / Pkgfile
1 # Description: A tool to display dialog boxes from shell scripts
2 # URL: http://hightek.org/dialog/
3 # Packager: Simone Rota, sip at crux dot nu
4 # Maintainer: Jose V Beneyto, sepen at crux dot nu
5 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
6 # Depends on: ncurses
7
8 name=dialog
9 version=1.1-20100119
10 release=1
11 source=(ftp://dickey.his.com/$name/$name-$version.tgz)
12
13 build () {
14 cd $name-$version
15 ./configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix=/usr \
18 --with-ncursesw
19
20 find -type f -name 'makefile' \
21 -exec sed -e "s|-I/usr|-I$CLFS/usr|g" -e "s|-L/usr|-L$CLFS/usr|g" -i {} \;
22
23 make
24 make DESTDIR=$PKG install
25 }