mirror of
https://github.com/archlinux/aur.git
synced 2026-01-27 20:28:31 +01:00
python16: enable extra modules: termios, crypt, resource, Tkinter
This commit is contained in:
parent
e0376153c8
commit
ae165d5658
1 changed files with 8 additions and 1 deletions
9
PKGBUILD
9
PKGBUILD
|
|
@ -9,7 +9,7 @@ arch=('i686' 'x86_64')
|
|||
license=('PSF')
|
||||
url="http://www.python.org/"
|
||||
depends=('bash')
|
||||
makedepends=()
|
||||
makedepends=(tk tcl)
|
||||
optdepends=()
|
||||
options=('!makeflags')
|
||||
source=(http://www.python.org/download/releases/$pkgver/Python-$pkgver.tar.gz)
|
||||
|
|
@ -18,8 +18,15 @@ sha1sums=('3cc7f523ae529384ea78b41d1c48011484407442')
|
|||
build() {
|
||||
cd "$srcdir/Python-$pkgver"
|
||||
|
||||
# enable more modules
|
||||
echo 'termios termios.c' >> Modules/Setup.in
|
||||
echo 'crypt cryptmodule.c -lcrypt' >> Modules/Setup.in
|
||||
echo 'resource resource.c' >> Modules/Setup.in
|
||||
echo '_tkinter _tkinter.c tkappinit.c -DWITH_APPINIT -lX11 -ltk8.5 -ltcl8.5' >> Modules/Setup.in
|
||||
|
||||
export OPT="$CFLAGS"
|
||||
./configure --prefix=/usr
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue