mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
27 lines
871 B
Bash
27 lines
871 B
Bash
# $Id: PKGBUILD 43812 2009-06-30 05:56:35Z allan $
|
|
# Maintainer: roberto <roberto@archlinux.org>
|
|
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
|
|
# Updated to produce shared libs: Andrew Rose <ody@netrux.com>
|
|
|
|
pkgname=fltk
|
|
pkgver=1.1.9
|
|
pkgrel=2
|
|
pkgdesc="Graphical user interface toolkit for X"
|
|
arch=(i686 x86_64)
|
|
license=('LGPL')
|
|
url="http://www.fltk.org/"
|
|
depends=('libjpeg>=7' 'libpng' 'gcc-libs' 'libxft' 'libxext')
|
|
makedepends=('mesa')
|
|
source=(http://ftp.easysw.com/pub/$pkgname/$pkgver/$pkgname-$pkgver-source.tar.bz2
|
|
fltk-1.1.9-gcc44.patch)
|
|
md5sums=('e146fd264e1001b1313acfd41ef75552'
|
|
'954d657d7831bd02aafb0e4ed9c8f8c6')
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
patch -Np1 -i $srcdir/fltk-1.1.9-gcc44.patch
|
|
|
|
./configure --prefix=/usr --enable-threads --enable-xft --enable-shared
|
|
make || return 1
|
|
make DESTDIR=$startdir/pkg install
|
|
}
|