temporarily add gm4 for firefox whilst I workout om4 patches

This commit is contained in:
Ella Stanforth 2021-12-31 16:44:47 +00:00
parent 517ce35a46
commit 6bd09efb05

31
bad/gm4/build.sh Normal file
View file

@ -0,0 +1,31 @@
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
}