mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-07 09:41:39 +01:00
44 lines
969 B
Plaintext
44 lines
969 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=py-gobject
|
|
pkgver=2.28.6
|
|
pkgrel=4
|
|
pkgdesc="Python bindings for the GObject library"
|
|
url="http://www.pygtk.org/"
|
|
arch="all"
|
|
license="GPL"
|
|
depends=
|
|
depends_dev="libffi-dev glib-dev python-dev"
|
|
makedepends="$depends_dev py-cairo-dev"
|
|
install=
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="http://ftp.gnome.org/pub/GNOME/sources/pygobject/${pkgver%.*}/pygobject-$pkgver.tar.bz2"
|
|
|
|
_builddir="$srcdir"/pygobject-$pkgver
|
|
prepare() {
|
|
cd "$_builddir"
|
|
update_config_sub || return 1
|
|
# apply patches here
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
CFLAGS="$CFLAGS -D_GNU_SOURCE" \
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--disable-introspection \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
md5sums="a43d783228dd32899e6908352b8308f3 pygobject-2.28.6.tar.bz2"
|