tk: update to 8.6.3.
This commit is contained in:
parent
107b5aac2d
commit
42450c1941
|
@ -1,9 +1,13 @@
|
|||
# Template file for 'tk'
|
||||
pkgname=tk
|
||||
version=8.6.2
|
||||
version=8.6.3
|
||||
revision=1
|
||||
wrksrc="tk${version}"
|
||||
build_wrksrc=unix
|
||||
build_wrksrc="unix"
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-threads --without-tzdata --enable-man-symlinks
|
||||
--disable-static --disable-rpath --with-tcl=$XBPS_CROSS_BASE/usr/lib
|
||||
tk_cv_strtod_unbroken=ok"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="zlib-devel tcl-devel libXext-devel libXScrnSaver-devel libXft-devel"
|
||||
short_desc="The TK graphical user interface toolkit for TCL"
|
||||
|
@ -11,31 +15,18 @@ maintainer="Juan RP <xtraeme@gmail.com>"
|
|||
homepage="http://www.tcl.tk"
|
||||
license="tcl/tk"
|
||||
distfiles="${SOURCEFORGE_SITE}/tcl/${pkgname}${version}-src.tar.gz"
|
||||
checksum=afb6639043ec38905afe22b61ca54820217f4d4e81e0ad49f839c16d2bf98579
|
||||
checksum=ba15d56ac27d8c0a7b1a983915a47e0f635199b9473cf6e10fbce1fc73fd8333
|
||||
|
||||
do_configure() {
|
||||
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ]; then
|
||||
configure_args+=" --enable-64bits "
|
||||
fi
|
||||
./configure ${configure_args} --enable-threads \
|
||||
--without-tzdata --enable-man-symlinks \
|
||||
--disable-static --disable-rpath \
|
||||
--with-tcl=$XBPS_CROSS_BASE/usr/lib \
|
||||
tk_cv_strtod_unbroken=ok
|
||||
}
|
||||
do_build() {
|
||||
pre_build() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
# XXX
|
||||
sed -e "s,-L/usr/lib,-L$XBPS_CROSS_BASE/usr/lib,g" -i Makefile
|
||||
fi
|
||||
make ${makejobs}
|
||||
}
|
||||
do_install() {
|
||||
make INSTALL_ROOT=${DESTDIR} install install-private-headers
|
||||
ln -sfr ${DESTDIR}/usr/bin/wish${version%.*} ${DESTDIR}/usr/bin/wish
|
||||
vinstall ../license.terms 644 usr/share/licenses/tk LICENSE
|
||||
# Set proper perms to shlibs.
|
||||
chmod 755 ${DESTDIR}/usr/lib/*.so*
|
||||
ln -s wish${version%.*} ${DESTDIR}/usr/bin/wish
|
||||
vlicense ../license.terms LICENSE
|
||||
}
|
||||
|
||||
tk-devel_package() {
|
||||
|
|
Loading…
Reference in New Issue