35 lines
1,007 B
Bash
35 lines
1,007 B
Bash
# Template file for 'jimtcl'
|
|
pkgname=jimtcl
|
|
version=0.76
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--full --with-ext=sqlite3"
|
|
short_desc="Small footprint implementation of the Tcl programming language"
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
makedepends="sqlite-devel"
|
|
license="BSD"
|
|
homepage="http://jim.tcl.tk/"
|
|
distfiles="https://github.com/msteveb/${pkgname}/archive/${version}.tar.gz"
|
|
checksum=ed9a602cf7d5861095736e1b0075e478ef23366e529ee9eddb14e9b29f48fc59
|
|
|
|
post_extract() {
|
|
sed -i '/Unknown option/s/error/notice/' autosetup/autosetup
|
|
sed -i 's,/doc,/share/doc,g' Makefile.in
|
|
}
|
|
pre_configure() {
|
|
configure_args=${configure_args/--host/--ignore-first-host}
|
|
}
|
|
post_install() {
|
|
vlicense LICENSE
|
|
sed -i "s/$XBPS_CROSS_TRIPLET-//g" $DESTDIR/usr/bin/build-jim-ext
|
|
}
|
|
|
|
jimtcl-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" -- development files"
|
|
pkg_install() {
|
|
vmove usr/bin/build-jim-ext
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
}
|
|
}
|