summaryrefslogblamecommitdiff
path: root/system/make/APKBUILD
blob: c3c2e9b3d4c9d2db2e8ff5f889ad6f96dbbd3317 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                 
            
          
        


                                                         
                  
          
                   
              
                                        
                                                                


                             
         




                                         
                                         



            
                                                                                                      


           


                                      

                                                                                                                                                             
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=make
pkgver=4.3
pkgrel=1
pkgdesc="GNU make utility to maintain groups of programs"
url="https://www.gnu.org/software/make"
arch="all"
license="GPL-3.0+"
depends=""
checkdepends="perl"
makedepends=""
subpackages="$pkgname-doc $pkgname-lang"
source="https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
	fix-atexit-exit.patch
	"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make
}

check() {
	[ "$CBUILD" != "$CHOST" ] || (ulimit -n 64 && PERL5LIB=. SHELL=/bin/sh make check) || return 1
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="9a1185cc468368f4ec06478b1cfa343bf90b5cd7c92c0536567db0315b0ee909af53ecce3d44cfd93dd137dbca1ed13af5713e8663590c4fdd21ea635d78496b  make-4.3.tar.gz
ce638cf5689d384f961a92b186d9f53f34764b6ab55deca8cc284fc2192a981d4d896cf58ab764b032e9b09fe50d238c9b3031712bf94e368428174372307a45  fix-atexit-exit.patch"