blob: 392799ee1bb477e7fefe4ad5260f61afcb384936 (
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
|
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=fltk
pkgver=1.3.5
pkgrel=0
pkgdesc="A cross-platform C++ GUI toolkit"
url="http://fltk.org"
arch="all"
options="!check" # No test suite.
license="LGPL-2.0-only WITH FLTK-exception"
depends_dev="libx11-dev libxext-dev libxft-dev mesa-dev libxinerama-dev"
makedepends="$depends_dev libpng-dev libjpeg-turbo-dev"
subpackages="$pkgname-doc $pkgname-dev $pkgname-fluid"
source="http://fltk.org/pub/fltk/$pkgver/fltk-$pkgver-source.tar.gz"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--enable-shared \
--enable-threads \
--with-optim="$CXXFLAGS"
make V=1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
# remove static libs
rm "$pkgdir"/usr/lib/*.a
}
fluid() {
pkgdesc="Fast Light User Interface Designer"
depends=
mkdir -p "$subpkgdir"/usr/
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
sha512sums="db7ea7c5f3489195a48216037b9371a50f1119ae7692d66f71b6711e5ccf78814670581bae015e408dee15c4bba921728309372c1cffc90113cdc092e8540821 fltk-1.3.5-source.tar.gz"
|