iglunix/bad/gm4/build.sh

32 lines
463 B
Bash
Raw Normal View History

pkgname=gm4
pkgver=1.4.19
fetch() {
curl "http://ftp.gnu.org/pub/gnu/m4/m4-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
mv m4-$pkgver gm4-$pkgver
}
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--build=$TRIPLE \
--program-prefix=g \
--host=$TRIPLE \
--disable-nls
make
}
package() {
cd $pkgname-$pkgver
make install DESTDIR=$pkgdir
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}