updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / ucspi-ipc / PKGBUILD
blob84aa8767e776bda9ea871eeceaba715fbade6152
1 # Contributor: Roberto Alsina <ralsina@kde.org>
2 pkgname=ucspi-ipc
3 pkgver=0.67
4 pkgrel=4
5 pkgdesc="Command-line tools for building local-domain client-server applications."
6 url="http://www.superscript.com/ucspi-ipc/intro.html"
7 license="Freely Redistributable"
8 depends=('glibc')
9 makedepends=()
10 conflicts=()
11 replaces=()
12 backup=()
13 arch=('i686')
14 install=
15 source=(http://www.superscript.com/ucspi-ipc/$pkgname-$pkgver.tar.gz man.tar.gz \
16         ipccat  ipcconnect  ipcdo  ipcrun )
17 md5sums=('68439fc45f7a52a481667aebe14b3a33' '2c78c9faaaeb606f9e312cb8ff3368fa'\
18          'e48efa05cd2341dc867efe9ea218fefb' '742c289c4354120eff27f4e861aac435'\
19          'a19103483d52959735271c5a21a20694' 'f407530125eda9e465d08b227d8649d2')
22 build() {
23   cd $startdir/src/host/superscript.com/net/ucspi-ipc-0.67/
24   echo "${CC:-gcc} ${CFLAGS:--fomit-frame-pointer -Wimplicit -Wunused -Wcomment -Wchar-subscripts -Wuninitialized -Wshadow -Wcast-qual -Wcast-align -Wwrite-strings -O1 -malign-double} -c" > src/conf-cc
25   echo "${LD:-gcc -s}" > src/conf-ld
26   
27   package/compile base || exit 1
28   
29   install -d $startdir/pkg/usr/bin/
30   for i in `cat package/commands-base`; do
31     install -m0755 command/$i $startdir/pkg/usr/bin/
32   done
33   
35   cd $startdir/src/man/
36   install -d $startdir/pkg/usr/man/man8
37   for i in *.8
38   do
39     install -m0644 $i $startdir/pkg/usr/man/man8
40   done
41   
42   cd ..
43   install -m 0755 ipccat ipcconnect ipcdo ipcrun $startdir/pkg/usr/bin/