diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-17 01:42:34 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-17 03:52:26 +0000 |
commit | 7830162aa19cde34e97a2157d7fb9790d29bf467 (patch) | |
tree | 25203ddf34d7975eeea7730382b1d51d00990b61 /user/free42/APKBUILD | |
parent | 29e461bdbc94c8a93a929c49e286aacf75fd1e23 (diff) | |
download | packages-7830162aa19cde34e97a2157d7fb9790d29bf467.tar.gz packages-7830162aa19cde34e97a2157d7fb9790d29bf467.tar.bz2 packages-7830162aa19cde34e97a2157d7fb9790d29bf467.tar.xz packages-7830162aa19cde34e97a2157d7fb9790d29bf467.zip |
user/free42: new package, new port to PPC
Diffstat (limited to 'user/free42/APKBUILD')
-rw-r--r-- | user/free42/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/user/free42/APKBUILD b/user/free42/APKBUILD new file mode 100644 index 000000000..126880926 --- /dev/null +++ b/user/free42/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=free42 +pkgver=2.0.22 +pkgrel=0 +pkgdesc="Scientific programmable calculator" +url="http://thomasokken.com/free42/" +arch="all" +options="!check" # No test suite. +license="GPL-2.0-only AND Public-Domain" +depends="" +makedepends="alsa-lib-dev gtk+2.0-dev libx11-dev libxmu-dev" +subpackages="" +source="http://thomasokken.com/free42/upstream/free42-nologo-$pkgver.tgz + free42.desktop + libx11.patch + patch.patch + " +builddir="$srcdir/free42-nologo-$pkgver/gtk" + +build() { + cd "$builddir" + local SAVE_CFLAGS + SAVE_CFLAGS=$CFLAGS + unset CFLAGS + ./build-intel-lib.sh + CFLAGS=$SAVE_CFLAGS + make BCD_MATH=1 AUDIO_ALSA=1 +} + +package() { + cd "$builddir" + install -D -m755 free42dec "$pkgdir"/usr/bin/free42dec + install -D -m644 "$srcdir"/free42.desktop \ + "$pkgdir"/usr/share/applications/free42.desktop +} + +sha512sums="865e8cce86a882aba10e7e756308e195a6675f0b6db4b881e7b7df67de95f5169ca801005e25dd0e61a70a5a0cd6a374b0cf58003251cdc9dc526a2506e18e1d free42-nologo-2.0.22.tgz +3d0dee5b574e171692e341c09d2204a048888e5e34cc479ee4f23f4ac137134db7e9d94779765e0426642e3a3069f9b3d962b72ebcea495c1e0b20d32405640b free42.desktop +f8434fd1c20f0dd40de5773615eaf798329870231f7ce66785a1bc8e208fa0a64919f48ac3eea5ab9ceb818570ae93f61b0e81baec4261bbdfbf04237108ab6a libx11.patch +b529bc68cbc84e3e698a16afe4b7a5ad52119125749d75d3392cc9281a3dfae7cba0a9637ac88fc96d6da89564225265b785a33b841708f14d6bf4b8c4be6f5d patch.patch" |