-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1400 from mariux64/update-tcltk-869
update tcl/tk
- Loading branch information
Showing
8 changed files
with
146 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
#!/usr/bin/env beesh | ||
|
||
# BEE_VERSION tcl-8.6.9-0 | ||
|
||
# more info: https://www.tcl.tk | ||
# http://linuxfromscratch.org/blfs/view/svn/general/tcl.html | ||
|
||
SRCURL[0]="https://prdownloads.sourceforge.net/tcl/tcl${PKGVERSION}-src.tar.gz" | ||
|
||
BEE_BUILDTYPE=autotools | ||
|
||
# PATCHURL+=() | ||
|
||
build_in_sourcedir | ||
|
||
sourcesubdir_append unix | ||
|
||
#mee_extract() { | ||
# bee_extract "${@}" | ||
#} | ||
|
||
#mee_patch() { | ||
# bee_patch "${@}" | ||
#} | ||
mee_patch_post() { | ||
mkdir -v ${S}/../attic | ||
mv -v ${S}/../pkgs/{tdbc[mops],sqlite}* ${S}/../attic | ||
|
||
sed -e "s#char buf\[10\];#char buf[11];#" \ | ||
-i ${S}/../pkgs/itcl4.1.2/generic/itclHelpers.c | ||
} | ||
|
||
mee_configure() { | ||
bee_configure \ | ||
--enable-64bit | ||
} | ||
|
||
#mee_build() { | ||
# bee_build | ||
#} | ||
|
||
mee_build_post() { | ||
|
||
SRCDIR=${S/\/unix} | ||
|
||
sed -e "s#$SRCDIR/unix#/usr/lib#" \ | ||
-e "s#$SRCDIR#/usr/include#" \ | ||
-i tclConfig.sh | ||
|
||
sed -e "s#$SRCDIR/unix/pkgs/tdbc1.1.0#/usr/lib/tdbc1.1.0#" \ | ||
-e "s#$SRCDIR/pkgs/tdbc1.1.0/generic#/usr/include#" \ | ||
-e "s#$SRCDIR/pkgs/tdbc1.1.0/library#/usr/lib/tcl8.6#" \ | ||
-e "s#$SRCDIR/pkgs/tdbc1.1.0#/usr/include#" \ | ||
-i pkgs/tdbc1.1.0/tdbcConfig.sh | ||
|
||
sed -e "s#$SRCDIR/unix/pkgs/itcl4.1.2#/usr/lib/itcl4.1.2#" \ | ||
-e "s#$SRCDIR/pkgs/itcl4.1.2/generic#/usr/include#" \ | ||
-e "s#$SRCDIR/pkgs/itcl4.1.2#/usr/include#" \ | ||
-i pkgs/itcl4.1.2/itclConfig.sh | ||
} | ||
|
||
mee_install() { | ||
bee_install | ||
|
||
make ${BEE_MAKEFLAGS} install-private-headers DESTDIR=${D} | ||
|
||
ln -v -sf tclsh8.6 ${D}/usr/bin/tclsh | ||
rm -vrf ${D}/usr/share/man/man3 | ||
rm -vrf ${D}/usr/share/man/mann | ||
} | ||
|
||
#mee_install_post() { | ||
# exit | ||
#} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
#!/usr/bin/env beesh | ||
|
||
# BEE_VERSION tk-8.6.9.1-0 | ||
|
||
# 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" | ||
|
||
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 | ||
} | ||
|
||
|
||
#mee_install_post() { | ||
# cd ${D} | ||
# find . -ls | ||
# exit | ||
#} |