blob: 4a62d773fe63bec014c31d341049ab7e093e42f2 (
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
|
#!/bin/bash
DEPS=(gcc-libs sh)
SOURCE=https://github.com/ryepdx/gmp
build () {
./configure --prefix=/usr --enable-cxx --disable-static --docdir=/usr/share/doc/gmp
make
make html
make check 2>&1 | tee gmp-check-log
awk '/# PASS:/{total+=$3} ; END{print total}' gmp-check-log
make DESTDIR=$PKG_DEST install
make DESTDIR=$PKG_DEST install-html
}
package () {
ln -sv $PKG_DEST/usr/bin/flex $PKG_DEST/usr/bin/lex
}
|