diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-04-15 08:36:47 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-04-16 06:29:55 +0000 |
commit | 0cdce5a0b47ed05c701a78ddd774d22da975851b (patch) | |
tree | 2af4ce00b19a1031d17273e25c7b249c7a46eaaf /testing/stfl/APKBUILD | |
parent | 74237bd595dd8b74df290cbd726f584b87dec7dd (diff) | |
download | aports-0cdce5a0b47ed05c701a78ddd774d22da975851b.tar.bz2 aports-0cdce5a0b47ed05c701a78ddd774d22da975851b.tar.xz |
testing/stfl: new aport
The Structured Terminal Forms Language/Library
http://www.clifford.at/stfl/
ref #1774
Diffstat (limited to 'testing/stfl/APKBUILD')
-rw-r--r-- | testing/stfl/APKBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/testing/stfl/APKBUILD b/testing/stfl/APKBUILD new file mode 100644 index 0000000000..d10829ec35 --- /dev/null +++ b/testing/stfl/APKBUILD @@ -0,0 +1,48 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=stfl +pkgver=0.22 +pkgrel=0 +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 libiconv-dev" +install="" +subpackages="$pkgname-dev" +source="http://www.clifford.at/stfl/stfl-$pkgver.tar.gz + ncurses.patch + libs.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 || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la "$pkgdir"/usr/lib/*.a +} + +md5sums="df4998f69fed15fabd702a25777f74ab stfl-0.22.tar.gz +43f04a9e6d1b544f6b60327b6d52b456 ncurses.patch +c97e5120af576056f7bd55121b35dea8 libs.patch" +sha256sums="2dddafd331e61ad04baf1251ccecb3a69feaf99880dd75155be8423c1cc55418 stfl-0.22.tar.gz +20d9acdde7da2fc03fa00cafdf3c689dfbd0131c085e12e6fbdc498ec6d37010 ncurses.patch +2cec3f9e649cdb096361acc8dc5cf77cb4007795c7450683a9f4cd22187d67f5 libs.patch" +sha512sums="dab2335ef00b65d00abda2a51fb5c667b48864b02ee82abee049f15fd9e2f272f21ec80d4a6cdbb5fc5882239ba28964912e4c0b641b2e83a7ab3bd7f94415bb stfl-0.22.tar.gz +2f31207d7fff88724a539ec7add1ad9f305e9adb36326acc6e42b6c27b0d93f74dc254b9f91c9b0ce0fb1d7d7c3d7d65defbc2086e9868108641df3a47e77166 ncurses.patch +def75440a498d592aa5ee7e3b8302f863ec4f01e6a08264db221c390acc92d1d38eec9032ec9abd1af469ea5622ac1f8caf9c0aaba1a9e81434ddab4631ace4e libs.patch" |