summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD31
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..52b9f689667
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = fltk-xcas
+ pkgdesc = Graphical user interface toolkit for X modified by giac/xcas' author
+ pkgver = 1.3.0
+ pkgrel = 1
+ url = http://www-fourier.ujf-grenoble.fr/~parisse/giac.html
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = libjpeg
+ depends = libxinerama
+ depends = libxft
+ provides = fltk
+ conflicts = fltk
+ source = http://www-fourier.ujf-grenoble.fr/~parisse/giac/freebsd/fltk-giac.tar.gz
+ md5sums = d71fee3a06747f263d81e7142306ab5b
+
+pkgname = fltk-xcas
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6aba9caac63
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Laurent Hofer <laurenth at laurenth dot net>
+pkgname=fltk-xcas
+pkgver=1.3.0
+pkgrel=1
+pkgdesc="Graphical user interface toolkit for X modified by giac/xcas' author"
+arch=('i686' 'x86_64')
+url="http://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
+license=('GPL')
+depends=('libjpeg' 'libxinerama' 'libxft')
+makedepends=()
+checkdepends=()
+optdepends=()
+provides=('fltk')
+conflicts=('fltk')
+install=
+source=("http://www-fourier.ujf-grenoble.fr/~parisse/giac/freebsd/fltk-giac.tar.gz")
+md5sums=('d71fee3a06747f263d81e7142306ab5b')
+
+build() {
+ cd "$srcdir/fltk-$pkgver"
+ CFLAGS="-march=native -O2 -pipe"
+ CXXFLAGS="${CFLAGS} -fPIC"
+ ./configure --prefix=/usr --enable-xft --enable-threads --enable-shared
+ make
+}
+
+package() {
+ cd "$srcdir/fltk-$pkgver"
+ make DESTDIR="$pkgdir/" install
+ chmod 644 $pkgdir/usr/lib/*
+}