| 1 | # Description: A screen manager with VT100/ANSI terminal emulation |
| 2 | # URL: http://www.gnu.org/software/screen/ |
| 3 | # Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de |
| 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
| 5 | # Depends on: ncurses |
| 6 | |
| 7 | name=screen |
| 8 | version=4.0.3 |
| 9 | release=2 |
| 10 | source=(http://fresh.t-systems-sfr.com/unix/src/misc//$name-$version.tar.gz \ |
| 11 | 100-cross_compile_fix.patch) |
| 12 | |
| 13 | build () { |
| 14 | cd $name-$version |
| 15 | patch -p0 < ../100-cross_compile_fix.patch |
| 16 | ./configure --build=$CHOST \ |
| 17 | --host=$CTARGET \ |
| 18 | --prefix=/usr \ |
| 19 | --enable-colors256 |
| 20 | make |
| 21 | make DESTDIR=$PKG install |
| 22 | rm -rf $PKG/usr/info |
| 23 | chmod -s $PKG/usr/bin/$name-$version |
| 24 | } |