From b3e2bfb7253ae0f03d1ab5339006edacb8eb9e3c Mon Sep 17 00:00:00 2001 From: rudson Date: Sun, 2 Dec 2007 01:14:34 +0000 Subject: git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@22 18ef50b8-d735-4ccd-97c1-689132df3dd9 --- dev/python/dbus-python/dbus-python.mkbuild | 150 +++++++++++++++++++++++++++ dev/python/pycairo/pycairo.mkbuild | 159 +++++++++++++++++++++++++++++ dev/python/pygobject/pygobject.mkbuild | 150 +++++++++++++++++++++++++++ dev/python/pygtk/pygtk.mkbuild | 150 +++++++++++++++++++++++++++ dev/python/twisted/twisted.mkbuild | 155 ++++++++++++++++++++++++++++ 5 files changed, 764 insertions(+) create mode 100644 dev/python/dbus-python/dbus-python.mkbuild create mode 100644 dev/python/pycairo/pycairo.mkbuild create mode 100644 dev/python/pygobject/pygobject.mkbuild create mode 100644 dev/python/pygtk/pygtk.mkbuild create mode 100644 dev/python/twisted/twisted.mkbuild (limited to 'dev/python') diff --git a/dev/python/dbus-python/dbus-python.mkbuild b/dev/python/dbus-python/dbus-python.mkbuild new file mode 100644 index 0000000..09cce01 --- /dev/null +++ b/dev/python/dbus-python/dbus-python.mkbuild @@ -0,0 +1,150 @@ +#-------------------- +# Personal variables +#-------------------- +# Author name +[[SLACKBUILD AUTHOR]]="Rudson R. Alves" + +# Initials author name +[[SLACKBUILD AUTHOR INITIALS]]="rra" + +#------------------------ +# Construction Variables +#------------------------ +# +# Complete URL address or URL base address ( without $SRC_NAME-$VERSION... ) +[[DOWNLOAD FOLDER URL]]="http://dbus.freedesktop.org/releases/dbus-python/dbus-python-0.82.3.tar.gz" + +# Source base name. if different from package name. Null ("") to default value. +# Auto-set, get SRC_NAME from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[SOURCE NAME]]="" + +# Package name. Null ("") to auto-set +# Auto-set, get PKG_NAME from URL downcase(SRC_NAME): http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[PACKAGE NAME]]="" + +# +# Package default ARCH +# Default set is i486 +[[ARCH]]="" + +# +# Package version. Null ("") to auto-set. +# Auto-set, get VERSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[VERSION]]="" + +# +# Package extension. Null ("") to auto-set +# Auto-set, get EXTENSION from URL: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[EXTENSION]]="" + +# +# Source Name construction string +# Default value is: $SRC_NAME-$VERSION.tar.$EXTENSION +[[SOURCE NAME CONSTRUCTION STRING]]="$SRC_NAME-$VERSION.tar.$EXTENSION" + +# +# Unpacker programa ("") to auto-set. Default "tar" +# Unpacke Flags ("") to auto-set. Default flags to tar "--no-same-owner --no-same-permissions -xvf" +[[UNPACKER]]="" +[[UNPACKER FLAGS]]="" + +# +# Dependency list input +# Enter string: "dependency_1 [condiction_1] [versio_1]: dependency_2 [condiction_2] [versio_2]" +# Example: +[[SLACK REQUIRED]]="dbus: dbus-glib: glib2: glibc-solibs: python" + +# +# Decompress program +# gz, tgz, bz2, set null ("") to auto-set +# Auto-set, get DECOMPRESSOR from URL EXTENSION: http://.../$SRC_NAME-$VERSION.tar.$EXTENSION' +[[DECOMPRESSOR]]="" + +# +# Decompress check flag +# gz, tgz, bz2, set null ("") to auto-set +[[DECOMPRESSOR TEST FLAG]]="" + +# +# Documentation files. Null ("") to auto-set commom doc-files: +# NEWS TODO README AUTHORS INSTALL ChangeLog MAINTAINERS COPYING readme.* +[[DOCUMENTATION FILES]]="AUTHORS COPYING COPYING.AFL-2.1 COPYING.GPL-2 ChangeLog INSTALL README TODO" + +# +# ./configure options +[[OTHER CONFIGURE ARGS]]="--prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static --program-prefix= --program-suffix= --build=$ARCH-slackware-linux" + +# +# PREFIX. Default /usr +[[PREFIX]]="/usr" + +# +# Number of jobs +[[NUMBER OF JOBS]]="-j7" + +#--------------------- +# Others changes +#--------------------- +#[[PATCH FILES]]="" +#[[MD5SUM CODE]]="" +#[[MD5SUM EXTENSION]]="" +#[[SIGNING KEY]]="" +#[[SIGNING KEY URL]]="" +#[[PATCH FILES]]="" + +# SlackBuild model +[[SLACKBUILD MODEL]]="generic.mkSlackBuild" + +# SlackBuild PATH in Slack.Sarava tree +#[[SLACKBUILD PATH]]="others/unclassified/dbus-python" +[[SLACKBUILD PATH]]="dev/python/dbus-python" + +#--------------------- +# SlackBuild Sections +#--------------------- +# Default sections: +# head, set_variables, slkflags, start_structure, untar_source, +# make_package, install_package, build_package +# Warning: don't remove '#>>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +dbus-python: dbus-python by Slack.Sarava +dbus-python: +dbus-python: Python bindings for D-Bus +dbus-python: +dbus-python: +dbus-python: +dbus-python: +dbus-python: +dbus-python: +dbus-python: +dbus-python: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +pycairo: pycairo by Slack.Sarava +pycairo: +pycairo: Python bindings for cairo +pycairo: +pycairo: +pycairo: +pycairo: +pycairo: +pycairo: +pycairo: +pycairo: +#configure +# Configure +PREFIX=`python -c "import sys; print sys.prefix"` +CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + ./configure \ + --prefix="$PREFIX" --libdir="$LIBDIR" $CONF_OPTIONS || exit $ERROR_CONF +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +pygobject: pygobject by Slack.Sarava +pygobject: +pygobject: This archive contains bindings for the GObject, to be used in Python +pygobject: It is a fairly complete set of bindings, it's already rather useful, +pygobject: and is usable to write moderately complex programs. (see the +pygobject: examples directory for some examples of the simpler programs you +pygobject: could write). +pygobject: +pygobject: +pygobject: +pygobject: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source + on: configure + on: make_package + on: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +pygtk: pygtk (A set of Python bindings for the GTK widget set) +pygtk: +pygtk: PyGTK provides a convenient wrapper for the GTK library for use in +pygtk: Python programs, and takes care of many of the boring details such +pygtk: as managing memory and type casting. When combined with PyORBit and +pygtk: gnome-python, it can be used to write full featured Gnome +pygtk: applications. +pygtk: +pygtk: +pygtk: +pygtk: +#>' and "#<<" tags. +#>> Start SlackBuild Sections: + on: head + on: slackbuildrc + on: set_variables + on: slkflags + on: error_codes + on: start_structure + on: download_source +off: md5sum_download_and_check_0 +off: md5sum_download_and_check_1 +off: gpg_signature_check + on: untar_source +off: patch_source +off: configure + on: make_package +off: install_package + on: strip_binaries +off: compress_manpages +off: compress_info_files + on: install_documentation + on: slackdesc +off: postinstall_script + on: build_package + on: clean_builds +#<< End SlackBuild Sections + +#------------------ +# Sections changes +#------------------ +#>slackdesc +twisted: twisted by Slack.Sarava +twisted: +twisted: Twisted is an event-driven networking framework written in Python and +twisted: licensed under the MIT license. See the FAQ for commonly asked +twisted: questions about Twisted. Twisted projects variously support TCP, UDP, +twisted: SSL/TLS, multicast, Unix sockets, a large number of protocols +twisted: (including HTTP, NNTP, IMAP, SSH, IRC, FTP, and others), and much more +twisted: +twisted: +twisted: +twisted: +#make_package +# Build and install package +python setup.py build install --root=$PKG +#