2015-09-04 16:06:50 +02:00
|
|
|
# Template file for 'jimtcl'
|
|
|
|
pkgname=jimtcl
|
2016-09-05 13:06:19 +02:00
|
|
|
version=0.77
|
2016-12-10 21:52:27 +01:00
|
|
|
revision=2
|
2015-09-04 16:06:50 +02:00
|
|
|
build_style=gnu-configure
|
2016-12-10 21:52:27 +01:00
|
|
|
configure_args="--full --shared --with-ext=sqlite3 --docdir=/usr/share/doc/${pkgname}"
|
2015-09-04 16:06:50 +02:00
|
|
|
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"
|
2016-09-05 13:06:19 +02:00
|
|
|
checksum=0874c50ab932c68940c29c48c014266a322c54ff357a0919386f32cc341eb3b2
|
2015-09-04 16:06:50 +02:00
|
|
|
|
|
|
|
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
|
2016-01-15 12:02:18 +01:00
|
|
|
ln -s libjim.so.* ${DESTDIR}/usr/lib/libjim.so
|
2015-09-04 16:06:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
jimtcl-devel_package() {
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin/build-jim-ext
|
|
|
|
vmove usr/include
|
2016-01-15 12:02:18 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2015-09-04 16:06:50 +02:00
|
|
|
}
|
|
|
|
}
|