From 4e5dd78b8909ad4bb986482877858a70e1d874a2 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Thu, 24 Jul 2014 18:54:08 +0200 Subject: [PATCH] New package: ipe-7.1.5 --- srcpkgs/ipe-devel | 1 + srcpkgs/ipe/template | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 120000 srcpkgs/ipe-devel create mode 100644 srcpkgs/ipe/template diff --git a/srcpkgs/ipe-devel b/srcpkgs/ipe-devel new file mode 120000 index 00000000000..406c678d03c --- /dev/null +++ b/srcpkgs/ipe-devel @@ -0,0 +1 @@ +ipe \ No newline at end of file diff --git a/srcpkgs/ipe/template b/srcpkgs/ipe/template new file mode 100644 index 00000000000..b542005acb9 --- /dev/null +++ b/srcpkgs/ipe/template @@ -0,0 +1,42 @@ +# 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 " +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" + } +}