mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-19 14:15:33 +08:00
bump swig to 2.0.0
This commit is contained in:
parent
749d8fe399
commit
687b08a943
@ -1,22 +1,33 @@
|
||||
# $Id: PKGBUILD 55027 2009-10-11 21:30:28Z andrea $
|
||||
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
|
||||
# Maintainer: Jason Chu <jason@archlinux.org>
|
||||
#
|
||||
# Chakra 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>
|
||||
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=swig
|
||||
pkgver=1.3.40
|
||||
pkgver=2.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="A compiler that makes it easy to integrate C and C++ code with scripting languages"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('custom')
|
||||
url="http://www.swig.org/"
|
||||
license=('custom')
|
||||
depends=('gcc-libs' 'zlib')
|
||||
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
|
||||
md5sums=('2df766c9e03e02811b1ab4bba1c7b9cc')
|
||||
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
||||
md5sums=('36ee2d9974be46a9f0a36460af928eb9')
|
||||
sha1sums=('60faa84a326e5aa8a94f290e9debed4551c1b1e7')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/$pkgname-$pkgver
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
./configure --prefix=/usr
|
||||
make || return 1
|
||||
make DESTDIR=${pkgdir} install
|
||||
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
install -D -m644 LICENSE-UNIVERSITIES "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-UNIVERSITIES"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user