void-packages/srcpkgs/ipe/template

43 lines
1.2 KiB
Text
Raw Normal View History

2014-07-24 16:54:08 +00:00
# Template file for 'ipe'
pkgname=ipe
version=7.1.5
2014-11-29 22:56:56 +00:00
revision=2
hostmakedepends="pkg-config git"
2014-07-24 16:54:08 +00:00
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>"
2014-11-29 22:56:56 +00:00
license="GPL-3, GPL-2"
2014-07-24 16:54:08 +00:00
homepage="http://ipe7.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/ipe7/${pkgname}/${version%.*}/${pkgname}-${version}-src.tar.gz"
checksum="fe63a0511bd52d4e256b06f35ce8abc5610267a10594280ca0aaaf15c6e27b1a"
do_fetch() {
# ipe-tools
local url="git://github.com/otfried/ipe-tools.git"
msg_normal "Fetching source from ${url}...\n"
git clone ${url} ${pkgname}-${version}
}
2014-07-24 16:54:08 +00:00
do_build() {
make ${makejobs} -C src IPEPREFIX=/usr LUA_PACKAGE=lua
make ${makejobs} -C figtoipe
make ${makejobs} -C pdftoipe
2014-07-24 16:54:08 +00:00
}
do_install() {
make -C src install IPEPREFIX=/usr LUA_PACKAGE=lua INSTALL_ROOT=${DESTDIR}
vbin figtoipe/figtoipe
vbin pdftoipe/pdftoipe
vbin svgtoipe/svgtoipe.py svgtoipe
2014-07-24 16:54:08 +00:00
}
ipe-devel_package() {
2014-11-23 13:57:08 +00:00
depends="${sourcepkg}>=${version}_${revision}"
2014-11-29 22:56:56 +00:00
short_desc+=" - development files"
2014-11-23 13:57:08 +00:00
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove "usr/share/ipe/$version/doc"
}
2014-07-24 16:54:08 +00:00
}