mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
34 lines
1 KiB
Bash
34 lines
1 KiB
Bash
# $Id: PKGBUILD 44920 2009-07-05 12:06:07Z giovanni $
|
|
# Maintainer: damir <damir@archlinux.org>
|
|
# Contributor: Ben <ben@benmazer.net>
|
|
|
|
pkgname=fox
|
|
pkgver=1.6.36
|
|
pkgrel=1
|
|
pkgdesc="Free Objects for X: GUI Toolkit for C++"
|
|
arch=("i686" "x86_64")
|
|
url="http://www.fox-toolkit.org/"
|
|
license=('LGPL' 'custom')
|
|
depends=('bzip2' 'libcups' 'libxcursor' 'libxft' 'libxrandr' 'mesa')
|
|
options=('!libtool')
|
|
source=("http://www.fox-toolkit.org/ftp/${pkgname}-${pkgver}.tar.gz")
|
|
md5sums=('5fdc89446185fbbf024cec44eb50a239')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
CPPFLAGS="$CPPFLAGS -I/usr/include/freetype2"
|
|
|
|
./configure --prefix=/usr \
|
|
--enable-release \
|
|
--with-xft=yes \
|
|
--enable-cups \
|
|
--with-opengl=yes
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
cd ${srcdir}/${pkgname}-${pkgver}/tests
|
|
make ControlPanel || return 1
|
|
cp ${srcdir}/${pkgname}-${pkgver}/tests/.libs/ControlPanel ${pkgdir}/usr/bin/
|
|
install -D -m644 ../LICENSE_ADDENDUM ${pkgdir}/usr/share/licenses/$pkgname/LICENSE_ADDENDUM
|
|
}
|