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