vp-build/templates/python.tmpl
Juan RP b52d064544 Major changes to support multiple distfiles in templates.
Each template now needs to use $distfiles that accepts the full
URL to download the distfile and old $extract_sufx is now merged
on it, but this must be separated by the '@' character. Example:

distfiles="http://www.foo.org/blah-6.2@.tar.gz
http://www.foo.org/blob-1.0@.tar.bz2"

If distfiles contains multiple files defined, $wrksrc is now
mandatory.

--HG--
extra : convert_revision : 1c3fa35f148af8323ce3cbcf5732104960de6bc4
2008-10-14 07:52:29 +02:00

28 lines
1.3 KiB
Cheetah

# Template build file for 'python'
pkgname=python
version=2.5.2
wrksrc="Python-$version"
patch_files="python-fix-build.diff python-fix-curses-module.diff
python-fix-bluetooth.diff python-fix-mremap.diff"
distfiles="
http://www.python.org/ftp/python/$version/Python-$version@.tar.bz2"
configure_args="--with-threads --enable-shared"
build_style=gnu_configure
short_desc="Interpreted, interactive, object-oriented programming language"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=b23b02739833e6730799c5866e2b77aae884b63f
long_desc="
Python is an interpreted, interactive, object-oriented programming language
that combines remarkable power with very clear syntax. For an introduction
to programming in Python you are referred to the Python Tutorial. The Python
Library Reference documents built-in and standard types, constants, functions
and modules. Finally, the Python Reference Manual describes the syntax and
and semantics of the core language in (perhaps too) much detail.
Python's basic power can be extended with your own modules written in C or
C++. On most systems such modules may be dynamically loaded. Python is also
adaptable as an extension language for existing applications."
# While building it needs to look current dir for libs...
LDFLAGS="-L."