diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-07-09 17:11:41 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-07-09 17:11:41 +0200 |
commit | 858dc0f98f9ce0a4b4212f72a87ad40b2caf36b4 (patch) | |
tree | 2adf944a70f6c3b702859805291ad2baf1af4dab /main/stfl/APKBUILD | |
parent | b578818036742256eea942ad128543d7c22d1c94 (diff) | |
download | aports-858dc0f98f9ce0a4b4212f72a87ad40b2caf36b4.tar.bz2 aports-858dc0f98f9ce0a4b4212f72a87ad40b2caf36b4.tar.xz |
testing/stfl: move to main
Diffstat (limited to 'main/stfl/APKBUILD')
-rw-r--r-- | main/stfl/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/main/stfl/APKBUILD b/main/stfl/APKBUILD new file mode 100644 index 0000000000..5d1a4f5cb4 --- /dev/null +++ b/main/stfl/APKBUILD @@ -0,0 +1,46 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=stfl +pkgver=0.24 +pkgrel=1 +pkgdesc="The Structured Terminal Forms Language/Library" +url="http://www.clifford.at/stfl/" +arch="all" +license="LGPLv3+" +depends="" +depends_dev="" +makedepends="$depends_dev ncurses-dev" +install="" +subpackages="$pkgname-dev" +source="http://www.clifford.at/stfl/stfl-$pkgver.tar.gz + ncurses.patch" + +_builddir="$srcdir"/stfl-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + make prefix=/usr || return 1 +} + +package() { + cd "$_builddir" + make prefix=/usr DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la "$pkgdir"/usr/lib/*.a + cd "$pkgdir"/usr/lib + ln -s libstfl.so.0.24 libstfl.so.0 +} + +md5sums="98c764ccc8f13ed05ea22559d7116b96 stfl-0.24.tar.gz +63198ddede520b856065c7f813effdf6 ncurses.patch" +sha256sums="d4a7aa181a475aaf8a8914a8ccb2a7ff28919d4c8c0f8a061e17a0c36869c090 stfl-0.24.tar.gz +851ddaa7835b9adc47528522f8a99fb504affd8b95e542c309b7cc8907d3ea4b ncurses.patch" +sha512sums="95df4574b1bc32d795751156dc5b93afbca3ba241607a3a55210c89dda61b9a26ad574bb5f729a0158c9052235dbf63d6c58b38e7f1061d14ab7062af6150fa0 stfl-0.24.tar.gz +d445b7bebd53ab23765f8386d8e69080df1cf95ca7368dee98594176e5a99f73d741a14e81af1500dc249c2a485574a5323d16fffa12536f7f3f20049b636de6 ncurses.patch" |