### this file is sourced not run
PKGVER=3.11.2
PKGBUILD=1
PKGARCH=x86_64

PYTHON_VER=${PKGVER%.*}

# LFS 11.3
TARBALL=Python-$PKGVER.tar.xz
MD5SUM=a957cffb58a89303b62124896881950b
BUNDLE=fatdog-base-11.3.tar
SRC_URL=http://distro.ibiblio.org/fatdog/source/900/$BUNDLE

SLACKREQ='python3 tk'
SLACKDESC="python3-tk: python3-tk $PKGVER (Tk interface for Python3)
python3-tk: 
python3-tk: This is a python module providing support to interface to Tcl/Tk 
python3-tk: graphic library. You need this to run IDLE, the built-in Python IDE.
python3-tk: 
python3-tk: This library is for python3.
python3-tk: 
python3-tk: 
python3-tk: 
python3-tk: 
python3-tk:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/Python-*/Modules &&
	
	gcc  $(python3-config --libs --includes) $(pkg-config --cflags --libs tk) \
		-fPIC -shared _tkinter.c tkappinit.c -DWITH_APPINIT \
		-o /usr/$LIBDIR/python$PYTHON_VER/lib-dynload/_tkinter.so &&
		
	pkg_build_slackdesc
}


