tcl: manually specify shlib via shlib-provides.

xbps-src ignores unversioned shlibs currently.
This commit is contained in:
Juan RP 2015-01-15 10:29:09 +01:00
parent 106e614665
commit 17a8116215
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'tcl' # Template file for 'tcl'
pkgname=tcl pkgname=tcl
version=8.6.3 version=8.6.3
revision=1 revision=2
wrksrc="tcl${version}" wrksrc="tcl${version}"
build_wrksrc="unix" build_wrksrc="unix"
build_style=gnu-configure build_style=gnu-configure
@ -15,6 +15,8 @@ license="tcl/tk"
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}${version}-src.tar.gz" distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}${version}-src.tar.gz"
checksum=6ce0778de0d50daaa9c345d7c1fd1288fb658f674028812e7eeee992e3051005 checksum=6ce0778de0d50daaa9c345d7c1fd1288fb658f674028812e7eeee992e3051005
shlib_provides="libtcl${version%.*}.so"
do_install() { do_install() {
make INSTALL_ROOT=${DESTDIR} install install-private-headers make INSTALL_ROOT=${DESTDIR} install install-private-headers
ln -s tclsh8.6 ${DESTDIR}/usr/bin/tclsh ln -s tclsh8.6 ${DESTDIR}/usr/bin/tclsh