2013-05-22 09:54:16 +00:00
|
|
|
# Template file for 'bwidget'
|
|
|
|
pkgname=bwidget
|
|
|
|
version=1.9.6
|
2014-06-08 09:52:36 +00:00
|
|
|
revision=3
|
2014-01-01 15:10:11 +00:00
|
|
|
noarch=yes
|
|
|
|
makedepends="tk>=8.6"
|
|
|
|
depends="${makedepends}"
|
2013-05-22 09:54:16 +00:00
|
|
|
short_desc="Set of extension widgets for Tcl/Tk"
|
2014-06-08 09:52:36 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-05-22 09:54:16 +00:00
|
|
|
homepage="http://tcllib.sourceforge.net/"
|
|
|
|
license="tcl/tk"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/tcllib/BWidget/$version/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=155e9cf2c6973956a0bbde450f2df358ce1eb97a2b2950d0681a36f861e67553
|
2013-05-22 09:59:16 +00:00
|
|
|
|
2013-05-22 09:54:16 +00:00
|
|
|
do_install() {
|
2013-05-22 09:59:16 +00:00
|
|
|
local _tclversion=8.6
|
|
|
|
|
2013-05-22 09:54:16 +00:00
|
|
|
vmkdir usr/lib/tcl8.6/BWidget
|
|
|
|
tar xzvf $XBPS_SRCDISTDIR/$pkgname-$version.tar.gz -C $DESTDIR/usr/lib/tcl$_tclversion/
|
|
|
|
mv $DESTDIR/usr/lib/tcl$_tclversion/$pkgname-$version/* \
|
|
|
|
$DESTDIR/usr/lib/tcl$_tclversion/BWidget
|
|
|
|
rmdir $DESTDIR/usr/lib/tcl8.6/$pkgname-$version
|
|
|
|
}
|