| 1 | # Description: A standard Unix macro processor with extensions |
| 2 | # URL: http://www.seindal.dk/rene/gnu/ |
| 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: |
| 6 | |
| 7 | name=m4 |
| 8 | version=1.4.14 |
| 9 | release=1 |
| 10 | source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2) |
| 11 | |
| 12 | build() { |
| 13 | cd $name-$version |
| 14 | ./configure --build=$CHOST \ |
| 15 | --host=$CTARGET \ |
| 16 | --prefix=/usr \ |
| 17 | --mandir=/usr/man |
| 18 | |
| 19 | touch doc/m4.1 |
| 20 | |
| 21 | make |
| 22 | make DESTDIR=$PKG install |
| 23 | rm -rf $PKG/usr/share |
| 24 | } |