From: Victor Martinez Date: Sat, 23 Jan 2010 23:52:34 +0000 (+0000) Subject: mcabber: Initial import (verified compilation). X-Git-Url: http://gitweb/?a=commitdiff_plain;h=abdf956c361f3f00cc983867dc73a7eec8fdf052;p=attic%2Fports%2Fopt-cross.git mcabber: Initial import (verified compilation). --- diff --git a/mcabber/.footprint b/mcabber/.footprint new file mode 100644 index 0000000..655e8ed --- /dev/null +++ b/mcabber/.footprint @@ -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 index 0000000..00936f0 --- /dev/null +++ b/mcabber/.md5sum @@ -0,0 +1 @@ +887415d16c32af58eab2ec2d9bb17fa6 mcabber-0.9.10.tar.bz2 diff --git a/mcabber/Pkgfile b/mcabber/Pkgfile new file mode 100644 index 0000000..36443b3 --- /dev/null +++ b/mcabber/Pkgfile @@ -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 +}