1 #Maintainer: kfgz <kfgz at interia pl>
6 pkgdesc="Image file format I/O library"
7 url="http://gfxtools.sourceforge.net/"
13 _svntrunk="http://gfxtools.svn.sourceforge.net/svnroot/gfxtools/libimago"
17 if [ -d ${_svnmod}/.svn ]; then
18 (cd ${_svnmod} && svn up -r ${pkgver})
20 svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
23 msg "SVN checkout done or server timeout"
24 msg "Starting make..."
27 sed -i "s/O3/O2/g" configure
28 ./configure --prefix=/usr
34 install -dm755 ${pkgdir}/usr/{lib,lib/pkgconfig,include,share/doc/libimago,share/licenses/libimago}
35 install -m644 libimago.a ${pkgdir}/usr/lib
36 install -m755 libimago.so ${pkgdir}/usr/lib
37 install -m644 imago.pc ${pkgdir}/usr/lib/pkgconfig
38 install -m644 README ${pkgdir}/usr/share/doc/libimago
39 install -m644 src/image.h ${pkgdir}/usr/include/imago.h
40 install -m644 COPYING ${pkgdir}/usr/share/licenses/libimago