Skip to content
Permalink
b7ef5b9c45
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 62 lines (42 sloc) 1.1 KB
#!/usr/bin/env beesh
# BEE_VERSION tk-8.6.9.1-1
# more info: https://www.tcl.tk
# http://linuxfromscratch.org/blfs/view/svn/general/tk.html
# SRCURL[0]="https://prdownloads.sourceforge.net/tcl/tk${PKGVERSION}-src.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/9efe3976468352dc894dae0c4e785a8e/tk8.6.9.1-src.tar.gz"
BEE_BUILDTYPE=autotools
build_in_sourcedir
sourcesubdir_append unix
# PATCHURL+=()
# build_in_sourcedir
# sourcesubdir_append src
#mee_extract() {
# bee_extract "${@}"
#}
#mee_patch() {
# bee_patch "${@}"
#}
mee_configure() {
bee_configure \
--enable-64bit
}
mee_configure_post() {
sed -e "s#/usr/lib64#/usr/lib#" \
-i Makefile
}
#mee_build() {
# bee_build
#}
mee_build_post() {
sed -e "s@^\(TK_SRC_DIR='\).*@\1/usr/include'@" \
-e "/TK_B/s@='\(-L\)\?.*unix@='\1/usr/lib@" \
-i tkConfig.sh
}
mee_install() {
bee_install
make ${BEE_MAKEFLAGS} install-private-headers DESTDIR=${D}
ln -v -sf wish8.6 ${D}/usr/bin/wish
rm -vrf ${D}/usr/lib/tk8.6/demos
rm -vrf ${D}/usr/share/man/man3
rm -vrf ${D}/usr/share/man/mann
}