CRUX-ARM : Home

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

diff --git a/mcabber/.footprint b/mcabber/.footprint
new file mode 100644 (file)
index 0000000..655e8ed
--- /dev/null
@@ -0,0 +1,7 @@
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/bin/
+-rwxr-xr-x     root/root       usr/bin/mcabber
+drwxr-xr-x     root/root       usr/share/
+drwxr-xr-x     root/root       usr/share/man/
+drwxr-xr-x     root/root       usr/share/man/man1/
+-rw-r--r--     root/root       usr/share/man/man1/mcabber.1.gz
diff --git a/mcabber/.md5sum b/mcabber/.md5sum
new file mode 100644 (file)
index 0000000..00936f0
--- /dev/null
@@ -0,0 +1 @@
+887415d16c32af58eab2ec2d9bb17fa6  mcabber-0.9.10.tar.bz2
diff --git a/mcabber/Pkgfile b/mcabber/Pkgfile
new file mode 100644 (file)
index 0000000..36443b3
--- /dev/null
@@ -0,0 +1,28 @@
+# Description: A console Jabber client. 
+# URL: http://mcabber.com/
+# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Depends on: ncurses
+
+name=mcabber
+version=0.9.10
+release=1
+source=(http://mcabber.com/files/$name-$version.tar.bz2)
+
+build() {
+  cd $name-$version
+  sed -e '/#undef malloc/d' -e '/#undef realloc/d' -i config.h.in
+  sed -e 's|`$PKG_CONFIG --cflags $pkg_config_args`|"-I$CLFS/usr/include/glib-2.0 -I$CLFS/usr/lib/glib-2.0/include"|g' -i configure
+  ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --disable-nls \
+              --prefix=/usr  \
+              --disable-glibtest
+  sed -e '/#define realloc rpl_realloc/d' \
+      -e '/#define malloc rpl_malloc/d' \
+      -i config.h
+  find -type f -name 'Makefile' \
+    -exec sed -e "s|-I/usr|-I$CLFS/usr|g" -e "s|-O2 -O2|-O2|g" -i {} \;
+  make 
+  make DESTDIR=$PKG install
+  rm -r $PKG/usr/share/mcabber
+}