CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
make: fixed build and updated release
[crossrootfs.git] / make / Pkgfile
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
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5
6 name=make
7 version=4.2.1
8 release=2
9 source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
10
11 build() {
12 cd $name-$version
13 sed -i '211,217 d; 219,229 d; 232 d' glob/glob.c
14 ./configure --build=$CHOST \
15 --host=$CTARGET \
16 --prefix=/usr \
17 --disable-nls
18 make
19 make DESTDIR=$PKG install
20 rm -rf $PKG/usr/share
21 }