Commit | Line | Data |
---|---|---|
6dca1d21 JB |
1 | # Description: Controls the generation of executables and other compile-related tasks |
2 | # URL: http://www.gnu.org/software/make/ | |
3 | # Maintainer: CRUX System Team, core-ports at crux dot nu | |
b751b192 | 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
6dca1d21 JB |
5 | |
6 | name=make | |
cbe6e515 | 7 | version=3.82 |
8f04b7f4 | 8 | release=3 |
a3716157 | 9 | source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 |
8f04b7f4 | 10 | $name-$version-bug_{30612,30653,30723}.patch) |
6dca1d21 JB |
11 | |
12 | build() { | |
13 | cd $name-$version | |
8f04b7f4 | 14 | cat $SRC/$name-$version-*.patch | patch -p1 |
6dca1d21 JB |
15 | ./configure --build=$CHOST \ |
16 | --host=$CTARGET \ | |
17 | --prefix=/usr \ | |
cbe6e515 VM |
18 | --disable-nls \ |
19 | --mandir=/usr/man | |
6dca1d21 JB |
20 | make |
21 | make DESTDIR=$PKG install | |
cbe6e515 | 22 | rm -rf $PKG/usr/share |
6dca1d21 | 23 | } |