You are not logged in.
anyone has a pkg for it already? if not, it's my new aim to make a pkg of it
The impossible missions are the only ones which succeed.
Offline
... but include very stupid hack. Without it I got compile error:
In file included from send.c:13:
../mgp.h:760: error: conflicting types for 'usleep'
/usr/include/unistd.h:405: error: previous declaration of 'usleep' was here
../mgp.h:760: error: conflicting types for 'usleep'
/usr/include/unistd.h:405: error: previous declaration of 'usleep' was here
PKGBUILD:
# $Id: $
# Contributor: forest76 <forestt@poczta.onet.pl>
pkgname=magicpoint
pkgver=1.10a
pkgrel=1
pkgdesc='X11 based presentation tool'
url='http://www.mew.org/mgp'
depends=('glibc' 'xfree86' 'freetype1')
source=("ftp://ftp.mew.org/pub/mgp/$pkgname-$pkgver.tar.gz")
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
xmkmf || return 1
#
# Stupid hack, but avoid compile error
#
sed -i "s:extern void usleep://extern void usleep:g"
$startdir/src/$pkgname-$pkgver/mgp.h
make Makefiles || return 1
make || return 1
make DESTDIR=$startdir/pkg install
make DESTDIR=$startdir/pkg install.man
}
Offline