mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
community/tclx: new aport
TclX extension to Tcl http://tclx.sourceforge.net/
This commit is contained in:
parent
121c601814
commit
2b09d6168b
46
community/tclx/APKBUILD
Normal file
46
community/tclx/APKBUILD
Normal file
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user