void-packages/srcpkgs/ipe/template

43 lines
1.5 KiB
Text
Raw Normal View History

2014-07-24 16:54:08 +00:00
# Template file for 'ipe'
pkgname=ipe
version=7.1.5
revision=1
create_wrksrc=yes
hostmakedepends="pkg-config"
makedepends="qt-devel lua-devel libjpeg-turbo-devel cairo-devel poppler-devel"
short_desc="Drawing editor for creating figures in PDF or EPS formats"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-3,GPL-2"
homepage="http://ipe7.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/ipe7/${pkgname}/7.1/${pkgname}-${version}-src.tar.gz
${SOURCEFORGE_SITE}/ipe7/tools/figtoipe-20091205.tar.gz
${SOURCEFORGE_SITE}/ipe7/tools/pdftoipe-20140303-src.tar.gz
${SOURCEFORGE_SITE}/ipe7/tools/svgtoipe-20131107.tar.gz"
checksum="fe63a0511bd52d4e256b06f35ce8abc5610267a10594280ca0aaaf15c6e27b1a
cb8526fbe10fed1592a42623ae0d7f0570b47569d9aebffb235ca1fb0c0b27b1
edeaeeac71eb95608e01a5e1a0c20af45cc90196511bb843dda3c2f596042df4
46586c07e2c836238e5188d8ce40f03eb3949cbfcd44650b4a23ecf6815f700d"
do_build() {
make ${makejobs} -C ipe-*/src IPEPREFIX=/usr LUA_PACKAGE=lua
make ${makejobs} -C figtoipe-*
make ${makejobs} -C pdftoipe-*
}
do_install() {
make -C ipe*/src install IPEPREFIX=/usr LUA_PACKAGE=lua INSTALL_ROOT=${DESTDIR}
vbin figtoipe-20091205/figtoipe
vbin pdftoipe-20140303-src/pdftoipe
vbin svgtoipe-20131107/svgtoipe.py svgtoipe
}
ipe-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove "usr/share/ipe/$version/doc"
}
}