tk: update maintainer; misc cleanups.
This commit is contained in:
parent
6ba0070702
commit
493967356b
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'tk'
|
# Template file for 'tk'
|
||||||
pkgname=tk
|
pkgname=tk
|
||||||
version=8.6.1
|
version=8.6.1
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="tk${version}"
|
wrksrc="tk${version}"
|
||||||
build_wrksrc=unix
|
build_wrksrc=unix
|
||||||
short_desc="The TK graphical user interface toolkit for TCL"
|
short_desc="The TK graphical user interface toolkit for TCL"
|
||||||
maintainer="pancake <pancake@nopcode.org>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.tcl.tk"
|
homepage="http://www.tcl.tk"
|
||||||
license="tcl/tk"
|
license="tcl/tk"
|
||||||
distfiles="${SOURCEFORGE_SITE}/tcl/${pkgname}${version}-src.tar.gz"
|
distfiles="${SOURCEFORGE_SITE}/tcl/${pkgname}${version}-src.tar.gz"
|
||||||
|
@ -18,12 +18,10 @@ do_configure() {
|
||||||
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ]; then
|
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ]; then
|
||||||
configure_args+=" --enable-64bits "
|
configure_args+=" --enable-64bits "
|
||||||
fi
|
fi
|
||||||
if [ "$CROSS_BUILD" ]; then
|
|
||||||
configure_args+=" --with-tcl=$XBPS_CROSS_BASE/usr/lib "
|
|
||||||
fi
|
|
||||||
./configure ${configure_args} --enable-threads \
|
./configure ${configure_args} --enable-threads \
|
||||||
--without-tzdata --enable-man-symlinks \
|
--without-tzdata --enable-man-symlinks \
|
||||||
--disable-static --disable-rpath \
|
--disable-static --disable-rpath \
|
||||||
|
--with-tcl=$XBPS_CROSS_BASE/usr/lib \
|
||||||
tk_cv_strtod_unbroken=ok
|
tk_cv_strtod_unbroken=ok
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -43,7 +41,7 @@ do_install() {
|
||||||
}
|
}
|
||||||
|
|
||||||
tk-devel_package() {
|
tk-devel_package() {
|
||||||
depends="tk>=${version}"
|
depends="tk>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/tkConfig.sh
|
vmove usr/lib/tkConfig.sh
|
||||||
|
|
Loading…
Reference in New Issue