1 # Contributor: Michał Małek <michalm@jabster.pl>
6 pkgdesc="Yet Another Messaging Infrastructure"
8 url="http://www.msobczak.com/prog/yami/"
10 depends=('python' 'tcl')
11 source=(http://www.msobczak.com/prog/${pkgname}/impl/files/${pkgname}-${pkgver}.tar.gz
14 md5sums=('3a07fd7f305c94c5c0fc340c0ecbe720'
15 '6797710358c942b89a2671976d731ea7'
16 'ac064ef1a2ce435d76db881abb1cd951')
19 cd ${startdir}/src/${pkgname}-${pkgver}
21 patch -p0 < ${startdir}/src/config.patch || return 1
24 mkdir -p ${startdir}/pkg/usr/include
25 install -m644 include/*.h ${startdir}/pkg/usr/include/
27 mkdir -p ${startdir}/pkg/usr/lib
28 install -m644 lib/libyamic.a ${startdir}/pkg/usr/lib/
30 mkdir -p ${startdir}/pkg/usr/lib/tcl8.5/${pkgname}
31 install -m644 lib/pkgIndex.tcl ${startdir}/pkg/usr/lib/tcl8.5/${pkgname}/
32 install -m755 lib/yamitcl.so ${startdir}/pkg/usr/lib/tcl8.5/${pkgname}/
34 mkdir -p ${startdir}/pkg/usr/lib/python2.5
35 install -m644 lib/YAMI.py ${startdir}/pkg/usr/lib/python2.5/
36 install -m755 lib/yamipyc.so ${startdir}/pkg/usr/lib/python2.5/
38 mkdir -p ${startdir}/pkg/usr/bin
39 install -m755 tools/ydl/ydl ${startdir}/pkg/usr/bin/
40 install -m755 tools/yping/yping ${startdir}/pkg/usr/bin/
42 mkdir -p ${startdir}/pkg/usr/share/licenses/${pkgname}
43 install -m644 ${startdir}/src/license.txt ${startdir}/pkg/usr/share/licenses/${pkgname}/