blob: c1842602f3311d921cf88c36cc280c6373ca65e9 (
plain) (
tree)
|
|
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer:
pkgname=fltk
pkgver=1.3.5
_realver=1.3.5
pkgrel=1
pkgdesc="Cross-platform C++ GUI toolkit"
url="https://www.fltk.org/"
arch="all"
options="!check" # No test suite.
license="LGPL-2.0-only WITH FLTK-exception"
depends=""
depends_dev="libglvnd-dev libx11-dev libxext-dev libxft-dev"
makedepends="$depends_dev libjpeg-turbo-dev libpng-dev libxinerama-dev"
subpackages="$pkgname-doc $pkgname-dev $pkgname-fluid"
source="https://www.fltk.org/pub/fltk/1.3.5/$pkgname-$_realver-source.tar.gz"
builddir="$srcdir"/$pkgname-$_realver
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--enable-shared \
--enable-threads \
--with-optim="$CXXFLAGS"
make V=1
}
package() {
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"
|