blob: 1b42c921c6d0c8de3821d85240f0c8c0e577330f (
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
|
# Maintainer: Márcio Silva <coadde@lavabit.com>
pkgname=collada-dom
pkgver=2.4.0
pkgrel=1
pkgdesc="An API that provides a C++ object representation of a ${pkgname::7} XML instance document"
url=http://sourceforge.net/projects/$pkgname
license=MIT
arch=(
i686
x86_64
mips64el
)
depends=(
boost-libs
libxml2
pcre
)
makedepends=(
boost
cmake
)
source=http://downloads.sf.net/$pkgname/$pkgname-$pkgver-libsrc.tgz
sha512sums=4c8cdc159acc89564b46615a0bc73a5ba84a1a5aa41d38661cd0e33a705ce5fd032e9a308fc89f93ec10620892067d757cbff8f1b9ce53da7626ea0e27b0eda5
prepare() {
cd $srcdir/$pkgname-$pkgver-libsrc
[[ -d build ]] && rm -r build
mkdir build
}
build() {
cd $srcdir/$pkgname-$pkgver-libsrc/build
setarch $CARCH cmake .. -DCMAKE_INSTALL_PREFIX=/usr
setarch $CARCH make
}
package() {
cd $srcdir/$pkgname-$pkgver-libsrc/build
setarch $CARCH make DESTDIR=$pkgdir install
a=$pkgdir/usr/share/licenses/$pkgname
install -d $a && cp -a ../{dom/license.txt,License_Folder/license_e.txt} $a
}
# vim:set ts=2 sw=2 et:
|