2021-01-17 19:15:45 +00:00
|
|
|
pkgver=4.3
|
|
|
|
pkgname=gmake
|
|
|
|
pkgrel=1
|
2021-01-31 11:09:14 +00:00
|
|
|
deps="musl"
|
2021-01-17 19:15:45 +00:00
|
|
|
bad="gmake"
|
|
|
|
ext="doc:dev"
|
|
|
|
|
|
|
|
fetch() {
|
|
|
|
curl "https://ftp.gnu.org/gnu/make/make-4.3.tar.gz" -o $pkgname-$pkgver.tar.gz
|
|
|
|
tar -xf $pkgname-$pkgver.tar.gz
|
|
|
|
mv make-$pkgver $pkgname-$pkgver
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--program-prefix=g \
|
|
|
|
--disable-nls
|
|
|
|
gmake
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
gmake install DESTDIR=$pkgdir
|
|
|
|
rm -r $pkgdir/usr/share
|
|
|
|
rm -r $pkgdir/usr/include
|
|
|
|
}
|
|
|
|
|
|
|
|
package_doc() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
gmake install DESDIR=$pkgdir
|
|
|
|
rm -r $pkgdir/usr/bin
|
|
|
|
rm -r $pkgdir/usr/share/info
|
|
|
|
rm -r $pkgdir/usr/include
|
|
|
|
}
|
|
|
|
package_dev() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
gmake install DESTDIR=$pkgdir
|
|
|
|
rm -r $pkgdir/usr/bin
|
|
|
|
rm -r $pkgdir/usr/share
|
|
|
|
}
|
|
|
|
|
|
|
|
license() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
cat COPYING
|
|
|
|
}
|