mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
33 lines
808 B
Bash
33 lines
808 B
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
|
|
|
|
pkgname=swig1
|
|
_pkgname=swig
|
|
pkgver=1.3.40
|
|
pkgrel=1
|
|
pkgdesc="A compiler that integrates C and C++ code with scripting languages (legacy version)"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.swig.org/"
|
|
license=('GPL')
|
|
depends=('gcc-libs' 'zlib')
|
|
conflicts=('swig' 'swig-pantheon')
|
|
provides=('swig')
|
|
changelog=ChangeLog
|
|
source=("http://downloads.sourceforge.net/$_pkgname/$_pkgname-$pkgver.tar.gz")
|
|
md5sums=('2df766c9e03e02811b1ab4bba1c7b9cc')
|
|
|
|
build() {
|
|
cd $srcdir/$_pkgname-$pkgver
|
|
./configure \
|
|
--prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$_pkgname-$pkgver
|
|
make DESTDIR=$pkgdir install
|
|
install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
|
|
}
|