Skip to content
Permalink
ac3486d921
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 34 lines (25 sloc) 735 Bytes
#!/bin/env beesh
PGRP=( programming )
SRCURL="ftp://mirror.ovh.net/gentoo-distfiles/distfiles/tcl${PV}-src.tar.gz"
IGNORE_DATAROOTDIR=yes
IGNORE_LOCALEDIR=yes
IGNORE_DOCDIR=yes
mee_configure() {
S=${S}/unix
cd ${S}
sed -i -e "s@TCL_LIBRARY='\$(prefix)/lib/tcl\$(VERSION)@TCL_LIBRARY='\$(libdir)/tcl\$(VERSION)@" configure
bee_configure --enable-threads
}
mee_build() {
bee_build
sed -i \
-e "s@^\(TCL_SRC_DIR='\).*@\1/usr/include'@" \
-e "/TCL_B/s@='\(-L\)\?.*unix@='\1/usr/lib@" \
tclConfig.sh
}
mee_install() {
bee_install
make install-private-headers DESTDIR=${D}
ln -v -sf tclsh${PV:0:3} ${D}${BINDIR}/tclsh
chmod -v 755 ${D}${LIBDIR}/libtcl8.5.so
}