You are not logged in.
Pages: 1
rpc is a console Reverse Polish Notation calculator based on ncurses
pkgname=rpc
pkgver=0.98
pkgrel=1
pkgdesc="RPC console calculator"
url="http://www.eecs.umich.edu/~pelzlpj/rpc/index.html"
depends=('ccmath' 'ncurses')
source=("http://www.eecs.umich.edu/~pelzlpj/rpc/$pkgname-$pkgver.tar.gz")
md5sums=('5eba682ae3be236d6b524be4eba71b33')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make prefix=$startdir/pkg/usr install
}
as you can see, rpc needs ccmath, so, here is it
pkgname=ccmath
pkgver=2.2.1
pkgrel=1
pkgdesc="mathematics library, coded in C"
url="http://freshmeat.net/projects/ccmath"
depends=('glibc')
source=("http://freshmeat.net/redir/ccmath/1083/url_tgz/$pkgname-$pkgver.tar.gz")
md5sums=('4d875071c7114839546c815cc2b7732c')
build() {
cd $startdir/src/$pkgname-$pkgver
echo y | ./makelibs.sh
mkdir -p $startdir/pkg/usr
mkdir -p $startdir/pkg/usr/lib
mkdir -p $startdir/pkg/usr/include
mkdir -p $startdir/pkg/lib
chmod 644 ccmath.h
cp ccmath.h $startdir/pkg/usr/include
cp tmp/libccm.a $startdir/pkg/usr/lib/libccm.a
cp tmp/libccm.so $startdir/pkg/lib/libccm.so
}
both packages are in incoming. Hope is usefull for someone
Offline
Pages: 1