diff --git a/tcl/.footprint b/tcl/.footprint index cca99f8..a156c96 100644 --- a/tcl/.footprint +++ b/tcl/.footprint @@ -3,25 +3,16 @@ drwxr-xr-x root/root usr/bin/ lrwxrwxrwx root/root usr/bin/tclsh -> tclsh8.5 -rwxr-xr-x root/root usr/bin/tclsh8.5 drwxr-xr-x root/root usr/include/ --rw-r--r-- root/root usr/include/regcustom.h --rw-r--r-- root/root usr/include/regerrs.h --rw-r--r-- root/root usr/include/regguts.h -rw-r--r-- root/root usr/include/tcl.h --rw-r--r-- root/root usr/include/tclCompile.h -rw-r--r-- root/root usr/include/tclDecls.h --rw-r--r-- root/root usr/include/tclFileSystem.h --rw-r--r-- root/root usr/include/tclIO.h -rw-r--r-- root/root usr/include/tclInt.h -rw-r--r-- root/root usr/include/tclIntDecls.h -rw-r--r-- root/root usr/include/tclIntPlatDecls.h -rw-r--r-- root/root usr/include/tclPlatDecls.h -rw-r--r-- root/root usr/include/tclPort.h --rw-r--r-- root/root usr/include/tclRegexp.h --rw-r--r-- root/root usr/include/tclThrd.h -rw-r--r-- root/root usr/include/tclTomMath.h -rw-r--r-- root/root usr/include/tclTomMathDecls.h --rw-r--r-- root/root usr/include/tclTomMathInt.h --rw-r--r-- root/root usr/include/tommath.h +-rw-r--r-- root/root usr/include/tclUnixPort.h drwxr-xr-x root/root usr/lib/ lrwxrwxrwx root/root usr/lib/libtcl.so -> libtcl8.5.so -r-xr-xr-x root/root usr/lib/libtcl8.5.so diff --git a/tcl/Pkgfile b/tcl/Pkgfile index 88f0052..deae573 100644 --- a/tcl/Pkgfile +++ b/tcl/Pkgfile @@ -5,7 +5,7 @@ name=tcl version=8.5.8 -release=1 +release=2 source=(http://downloads.sourceforge.net/project/$name/Tcl/$version/$name$version-src.tar.gz) build() { @@ -13,18 +13,13 @@ build() { ./configure --prefix=/usr make - make install MKLINKS_FLAGS="-s" INSTALL_ROOT=$PKG - - cp ../generic/*.h $PKG/usr/include/ - cp tclUnixPort.h $PKG/usr/include/tclPort.h - cp tclUnixThrd.h $PKG/usr/include/tclThrd.h + make install install-private-headers INSTALL_ROOT=$PKG sed -i \ -e "s|TCL_SRC_DIR='.*'|TCL_SRC_DIR='/usr/lib'|" \ -e "s|$SRC/tcl$version/unix|/usr/lib|" \ $PKG/usr/lib/tclConfig.sh - rm $PKG/usr/include/regex.h ln -s tclsh${version%.*} $PKG/usr/bin/tclsh ln -s libtcl${version%.*}.so $PKG/usr/lib/libtcl.so chmod -R u+w $PKG/usr/man