mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 22:57:56 +08:00
31 lines
841 B
Bash
31 lines
841 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=sip
|
|
pkgver=4.13.1
|
|
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=('python2' 'gcc-libs')
|
|
source=("http://www.riverbankcomputing.com/static/Downloads/sip4/${pkgname}-${pkgver}.tar.gz")
|
|
md5sums=('3f61fd39d5b0c8fa9e43b59af04de924')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
python2 configure.py
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
|
}
|