diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2011-10-31 10:06:11 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2011-10-31 10:06:11 +0000 |
commit | 40f177d0cd30b4a3dd68ec1b394bf4fbc15db002 (patch) | |
tree | bfe846410dd27cb431d65ab55b4108be16a55747 /testing | |
parent | c7fb0c1b74ecc016bacbf0e8130be639c38bf5cb (diff) | |
download | aports-40f177d0cd30b4a3dd68ec1b394bf4fbc15db002.tar.bz2 aports-40f177d0cd30b4a3dd68ec1b394bf4fbc15db002.tar.xz |
testing/py-gtk: new aport
GTK+ for Python
Diffstat (limited to 'testing')
-rw-r--r-- | testing/py-gtk/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/py-gtk/APKBUILD b/testing/py-gtk/APKBUILD new file mode 100644 index 0000000000..0df03b899e --- /dev/null +++ b/testing/py-gtk/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: +# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> +pkgname=py-gtk +_realname=pygtk +pkgver=2.24.0 +_basever=2.24 +pkgrel=0 +pkgdesc="GTK library for Python" +url="http://pygtk.org" +arch="noarch" +license="LGPL" +depends="" +depends_dev="glib-dev py-gobject-dev python-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://ftp.gnome.org/pub/GNOME/sources/$_realname/$_basever/$_realname-$pkgver.tar.bz2" + +_builddir="$srcdir"/$_realname-$pkgver + +prepare() { + cd "$_builddir" +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install + find $pkgdir -iname *.la -delete +} + +md5sums="a1051d5794fd7696d3c1af6422d17a49 pygtk-2.24.0.tar.bz2" |