ipe: ipe-tools moved to github, no source tarball available

This commit is contained in:
Alessio Sergi 2014-11-30 00:22:24 +01:00
parent 5eb2d6aa0f
commit 15f887db96

View file

@ -2,33 +2,33 @@
pkgname=ipe
version=7.1.5
revision=2
create_wrksrc=yes
hostmakedepends="pkg-config"
hostmakedepends="pkg-config git"
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"
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}
}
do_build() {
make ${makejobs} -C ipe-*/src IPEPREFIX=/usr LUA_PACKAGE=lua
make ${makejobs} -C figtoipe-*
make ${makejobs} -C pdftoipe-*
make ${makejobs} -C 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
make -C src install IPEPREFIX=/usr LUA_PACKAGE=lua INSTALL_ROOT=${DESTDIR}
vbin figtoipe/figtoipe
vbin pdftoipe/pdftoipe
vbin svgtoipe/svgtoipe.py svgtoipe
}
ipe-devel_package() {