CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
xmonobut: Initial import (verified compilation).
authorVictor Martinez <pitillo@ono.com>
Sun, 24 Jan 2010 21:12:35 +0000 (21:12 +0000)
committerVictor Martinez <pitillo@ono.com>
Sun, 24 Jan 2010 21:12:35 +0000 (21:12 +0000)
xmonobut/.footprint [new file with mode: 0644]
xmonobut/.md5sum [new file with mode: 0644]
xmonobut/Pkgfile [new file with mode: 0644]

diff --git a/xmonobut/.footprint b/xmonobut/.footprint
new file mode 100644 (file)
index 0000000..32713f8
--- /dev/null
@@ -0,0 +1,11 @@
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/bin/
+-rwxr-xr-x     root/root       usr/bin/xmonobut
+drwxr-xr-x     root/root       usr/man/
+drwxr-xr-x     root/root       usr/man/man1/
+-rw-r--r--     root/root       usr/man/man1/xmonobut.1.gz
+drwxr-xr-x     root/root       usr/share/
+drwxr-xr-x     root/root       usr/share/applications/
+-rw-r--r--     root/root       usr/share/applications/xmonobut.desktop
+drwxr-xr-x     root/root       usr/share/pixmaps/
+-rw-r--r--     root/root       usr/share/pixmaps/xmonobut.xpm
diff --git a/xmonobut/.md5sum b/xmonobut/.md5sum
new file mode 100644 (file)
index 0000000..f50ab9e
--- /dev/null
@@ -0,0 +1 @@
+41d9da556205c7cfcb86362387fa6493  xmonobut-0.4.1.tar.gz
diff --git a/xmonobut/Pkgfile b/xmonobut/Pkgfile
new file mode 100644 (file)
index 0000000..8a8bd93
--- /dev/null
@@ -0,0 +1,24 @@
+# Description: application that helps access 2nd and 3rd mouse buttons on touchscreen 
+# URL: http://www.handhelds.org 
+# Maintainer: Victor Martinez, pitillo at ono dot com
+# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Depends on: libmatchbox 
+
+name=xmonobut
+version=0.4.1
+release=1
+source=(http://familiar.handhelds.org/source/v0.8.4-rc2/sources/xmonobut-0.4.1.tar.gz)
+
+build() {
+  cd $name-$version
+  sed -e 's|CFLAGS="$CFLAGS `pkg-config --cflags libmb`"|CFLAGS="$CFLAGS -I/des/mikeux/crux-arm/toolchain/clfs/usr/include -I/des/mikeux/crux-arm/toolchain/clfs/usr/include/X11 -I/des/mikeux/crux-arm/toolchain/clfs/usr/include/X11/extensions -I/des/mikeux/crux-arm/toolchain/clfs/usr/include/freetype2"|g' \
+    -e 's|MB_LIBS="`pkg-config --libs libmb`"|MB_LIBS="-L$CLFS/usr/lib -lmb"|g' \
+    -e 's|$PKG_CONFIG --exists libmb|true|g' -i configure
+  ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --prefix=/usr \
+              --mandir=/usr/man \
+              --disable-nls 
+  make
+  make DESTDIR=$PKG install
+}