mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 17:14:35 +08:00
33 lines
1004 B
Bash
33 lines
1004 B
Bash
|
# $Id: PKGBUILD 63223 2010-01-16 15:10:30Z andrea $
|
||
|
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
|
||
|
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
|
||
|
# Contributor: riai <riai@bigfoot.com>, Ben <ben@benmazer.net>
|
||
|
|
||
|
pkgname=sip
|
||
|
pkgver=4.10.0
|
||
|
_pkgver=4.10
|
||
|
pkgrel=1
|
||
|
pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://www.riverbankcomputing.com/software/sip/"
|
||
|
license=('custom:"sip"')
|
||
|
depends=('python' 'gcc-libs')
|
||
|
source=(http://riverbankcomputing.com/static/Downloads/${pkgname}4/${pkgname}-${_pkgver}.tar.gz)
|
||
|
md5sums=('4b8f7361839b33868dd3cc576509ba8e')
|
||
|
options=('force')
|
||
|
|
||
|
build() {
|
||
|
cd ${srcdir}/${pkgname}-${_pkgver}
|
||
|
|
||
|
python configure.py -b /usr/bin \
|
||
|
-d /usr/lib/python2.6/site-packages \
|
||
|
-e /usr/include/python2.6 \
|
||
|
-v /usr/share/sip || return 1
|
||
|
|
||
|
make || return 1
|
||
|
make DESTDIR=${pkgdir} install
|
||
|
|
||
|
install -m 644 -D LICENSE \
|
||
|
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1
|
||
|
}
|