Commit | Line | Data |
---|---|---|
b27ccfe6 VM |
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 | |
80990a58 | 9 | version=1.1-20100119 |
b27ccfe6 | 10 | release=1 |
80990a58 | 11 | source=(ftp://dickey.his.com/$name/$name-$version.tgz) |
b27ccfe6 VM |
12 | |
13 | build () { | |
14 | cd $name-$version | |
15 | ./configure --build=$CHOST \ | |
16 | --host=$CTARGET \ | |
17 | --prefix=/usr \ | |
18 | --with-ncursesw | |
80990a58 VM |
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 | ||
b27ccfe6 VM |
23 | make |
24 | make DESTDIR=$PKG install | |
25 | } |