aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorShannon Noe <snoe925@gmail.com>2017-02-04 18:05:53 -0600
committerTimo Teräs <timo.teras@iki.fi>2017-02-09 08:10:39 +0200
commit2b09d6168bb3bd0df74e05352c901bbadb37e9f3 (patch)
treea4598af21e35d6f6c4bfac04c2115cc61004b6b3 /community
parent121c6018141f7503dd7c1b9a46910e4213839489 (diff)
downloadaports-2b09d6168bb3bd0df74e05352c901bbadb37e9f3.tar.bz2
aports-2b09d6168bb3bd0df74e05352c901bbadb37e9f3.tar.xz
community/tclx: new aport
TclX extension to Tcl http://tclx.sourceforge.net/
Diffstat (limited to 'community')
-rw-r--r--community/tclx/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/community/tclx/APKBUILD b/community/tclx/APKBUILD
new file mode 100644
index 0000000000..f8ef28b006
--- /dev/null
+++ b/community/tclx/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: Shannon Noe <snoe925@gmail.com>
+# Maintainer: Shannon Noe <snoe925@gmail.com>
+pkgname=tclx
+pkgver=8.4.1
+pkgrel=0
+pkgdesc="TclX extension to Tcl"
+url="http://tclx.sourceforge.net/"
+arch="all"
+license="BSD"
+depends="tcl"
+depends_dev="tcl-dev"
+makedepends="tcl-dev"
+subpackages="$pkgname-doc $pkgname-dev"
+source="http://downloads.sourceforge.net/project/tclx/TclX/$pkgver/$pkgname$pkgver.tar.bz2"
+
+_major=${pkgver%.*}
+builddir="$srcdir"/tclx${_major}
+
+build() {
+ local _64bit="--disable-64bit"
+ case "$CARCH" in
+ x86_64) _64bit="--enable-64bit";;
+ esac
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --with-tcl=/usr/lib \
+ $_64bit \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$builddir"
+ make -j1 DESTDIR="${pkgdir}" install || return 1
+}
+
+md5sums="ac983708f23cf645c07058148f48440c tclx8.4.1.tar.bz2"
+sha256sums="a9b41f606ec6c1268b9c78512e6e1cb533bd9ae3e786e650d111fc16ffe758ec tclx8.4.1.tar.bz2"
+sha512sums="faad58f5d8e0e1e759da639800f354b583fb01418c94f2274924aa07beb0ee9559beb87b3386ed5ae3694700a71dfe5b8ac54ead0ec75c6963507e9d3ead7060 tclx8.4.1.tar.bz2"
+