summaryrefslogtreecommitdiff
path: root/extra/libstroke
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/libstroke
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/libstroke')
-rw-r--r--extra/libstroke/ChangeLog8
-rw-r--r--extra/libstroke/PKGBUILD35
-rw-r--r--extra/libstroke/libgstroke-Makefile.am.patch11
-rw-r--r--extra/libstroke/libstroke-Makefile.am.patch15
4 files changed, 69 insertions, 0 deletions
diff --git a/extra/libstroke/ChangeLog b/extra/libstroke/ChangeLog
new file mode 100644
index 000000000..cf5bc097b
--- /dev/null
+++ b/extra/libstroke/ChangeLog
@@ -0,0 +1,8 @@
+2009-03-14 Eric Belanger <eric@archlinux.org>
+
+ * libstroke 0.5.1-3
+ * Fixed build issue
+ * Updated url
+ * Added license
+ * Added libx11 and gtk makedepends
+ * Added ChangeLog
diff --git a/extra/libstroke/PKGBUILD b/extra/libstroke/PKGBUILD
new file mode 100644
index 000000000..2a4a5adc3
--- /dev/null
+++ b/extra/libstroke/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 30070 2009-03-16 01:26:56Z eric $
+# Maintainer: Eric Belanger <eric@archlinux.org>
+# Contributor: damir <damir@archlinux.org>
+
+pkgname=libstroke
+pkgver=0.5.1
+pkgrel=3
+pkgdesc="LibStroke is a stroke (mouse gesture) translation library"
+arch=('i686' 'x86_64')
+url="http://etla.net/libstroke/"
+license=('GPL2')
+depends=('glibc')
+makedepends=('libx11' 'gtk')
+options=('!libtool')
+source=(http://etla.net/libstroke/$pkgname-$pkgver.tar.gz libgstroke-Makefile.am.patch libstroke-Makefile.am.patch)
+md5sums=('51b9a4e309ac15cfcab96191eed03cb2' '60bbaf355355c3c66c8015b0f7feca85'\
+ '96413a77e1d39d1a3223e8eb6be8ef01')
+sha1sums=('48bd2b98faa8681ccd97eda7a09442845dbf1b7b'
+ 'a0c3bd9e894650475ba3049b0ef3d7f9580c203d'
+ 'ee5a3635c31dba00b070a942c512cc0d53056188')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ patch -p1 < ../libgstroke-Makefile.am.patch || return 1
+ patch -p1 < ../libstroke-Makefile.am.patch || return 1
+
+ libtoolize --force --copy || return 1
+ aclocal || return 1
+ autoconf || return 1
+ automake --add-missing --force --copy || return 1
+
+ ./configure --prefix=/usr || return 1
+ make || return 1
+ make DESTDIR=${pkgdir} install || return 1
+}
diff --git a/extra/libstroke/libgstroke-Makefile.am.patch b/extra/libstroke/libgstroke-Makefile.am.patch
new file mode 100644
index 000000000..b3251f354
--- /dev/null
+++ b/extra/libstroke/libgstroke-Makefile.am.patch
@@ -0,0 +1,11 @@
+--- libstroke-0.5.1/libgstroke/Makefile.am.orig 2008-06-11 13:01:29.000000000 +0400
++++ libstroke-0.5.1/libgstroke/Makefile.am 2008-06-11 13:01:44.000000000 +0400
+@@ -21,7 +21,7 @@
+ INCLUDES = @GTK_CFLAGS@
+ LDADD = @GTK_LIBS@
+
+-EXTRA_DIST =
++#EXTRA_DIST =
+
+ MOSTLYCLEANFILES = core *~
+ CLEANFILES = core *~
diff --git a/extra/libstroke/libstroke-Makefile.am.patch b/extra/libstroke/libstroke-Makefile.am.patch
new file mode 100644
index 000000000..98707faf0
--- /dev/null
+++ b/extra/libstroke/libstroke-Makefile.am.patch
@@ -0,0 +1,15 @@
+--- libstroke-0.5.1/libstroke/Makefile.am.orig 2008-06-11 13:01:54.000000000 +0400
++++ libstroke-0.5.1/libstroke/Makefile.am 2008-06-11 13:02:02.000000000 +0400
+@@ -5,10 +5,10 @@
+ # level Makefile.
+ AUTOMAKE_OPTIONS = foreign
+
+-EXTRA_DIST =
++#EXTRA_DIST =
+
+ #tclpath::
+- #echo ${ENABLE_TCL}
++# echo ${ENABLE_TCL}
+
+ #if ENABLE_TCL
+ #SEL_BIB = libstroke.la libstroke_tcl.la