blob: 08111724b48512197237513f28ce8f2c8e9de61b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# $Id: PKGBUILD 78820 2012-10-25 06:47:28Z foutrelis $
# Maintainer (Arch): Jakob Gruber <jakob.gruber@gmail.com>
# Maintainer (Arch): Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor (Arch): rayte <rabyte.at.gmail.dot.com>
# Maintainer: Márcio Silva <coadde@hyperbola.info>
pkgname=luabind
pkgver=0.9.1
pkgrel=3
pkgdesc='A library that helps you create bindings between C++ and Lua'
arch=(
i686
x86_64
mips64el
)
url="http://www.rasterbar.com/products/$pkgname.html"
license=(MIT)
makedepends=(
boost
boost-build
unzip
)
depends=(
gcc-libs
lua51
)
source=(
"http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
${pkgname}_boost.patch
)
md5sums=(
8a323fb51d07dad5cfdb12c432793d55
d62ae6fc635300bc659df9dbb587ac53
)
build() {
cd $srcdir/$pkgname-$pkgver
patch -Np1 -i $srcdir/${pkgname}_boost.patch
# build luabind
setarch $CARCH bjam release --prefix=$pkgdir/usr link=static,shared
}
package() {
cd $srcdir/$pkgname-$pkgver
setarch $CARCH bjam release --prefix=$pkgdir/usr link=static,shared install
# copy license
install -Dm644 $srcdir/$pkgname-$pkgver/LICENSE \
$pkgdir/usr/share/licenses/$pkgname/LICENSE
}
|