jimtcl: build shared library.

This commit is contained in:
Christian Neukirchen 2016-01-15 12:02:18 +01:00
parent b5e38c147d
commit 23e43da688
2 changed files with 5 additions and 3 deletions

View File

@ -2320,3 +2320,4 @@ libmunge.so.2 munge-libs-0.5.11_1
libmgba.so.0.3 libmgba-0.3.2_1
libglabels-3.0.so.8 libglabels30-3.2.1_1
libglbarcode-3.0.so.0 libglabels30-3.2.1_1
libjim.so.0.76 jimtcl-0.76_2

View File

@ -1,9 +1,9 @@
# Template file for 'jimtcl'
pkgname=jimtcl
version=0.76
revision=1
revision=2
build_style=gnu-configure
configure_args="--full --with-ext=sqlite3"
configure_args="--full --shared --with-ext=sqlite3"
short_desc="Small footprint implementation of the Tcl programming language"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
makedepends="sqlite-devel"
@ -22,6 +22,7 @@ pre_configure() {
post_install() {
vlicense LICENSE
sed -i "s/$XBPS_CROSS_TRIPLET-//g" $DESTDIR/usr/bin/build-jim-ext
ln -s libjim.so.* ${DESTDIR}/usr/lib/libjim.so
}
jimtcl-devel_package() {
@ -30,6 +31,6 @@ jimtcl-devel_package() {
pkg_install() {
vmove usr/bin/build-jim-ext
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}