From 6bd09efb057c459a2fab27face78a233f2362998 Mon Sep 17 00:00:00 2001 From: Ella Stanforth <23418164+Ella-0@users.noreply.github.com> Date: Fri, 31 Dec 2021 16:44:47 +0000 Subject: [PATCH] temporarily add gm4 for firefox whilst I workout om4 patches --- bad/gm4/build.sh | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 bad/gm4/build.sh diff --git a/bad/gm4/build.sh b/bad/gm4/build.sh new file mode 100644 index 0000000..ca90051 --- /dev/null +++ b/bad/gm4/build.sh @@ -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 +}