Contents of /branches/magellan-next/extras/ebook-tools/ebook-tools-0.2.1-r1.smage2
Parent Directory | Revision Log
Revision 7116 -
(show annotations)
(download)
Wed Sep 29 09:11:03 2010 UTC (14 years ago) by niro
File size: 700 byte(s)
Wed Sep 29 09:11:03 2010 UTC (14 years ago) by niro
File size: 700 byte(s)
auto added: ver bump to 0.2.1-r1
1 | # $Id: ebook-tools-0.1.1-r1.smage2 4907 2010-02-14 11:49:15Z niro $ |
2 | |
3 | PNAME="ebook-tools" |
4 | PVER="0.2.1" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="app-text" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Tools for accessing and converting various ebook file formats." |
11 | HOMEPAGE="http://ebook-tools.sourceforge.net/" |
12 | |
13 | DEPEND=">= dev-libs/libxml2-2.7 |
14 | >= dev-libs/libzip-0.9" |
15 | |
16 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
18 | |
19 | sminclude cmake |
20 | |
21 | SRC_URI=( |
22 | sourceforge://${PNAME}/${SRCFILE} |
23 | mirror://${PNAME}/${SRCFILE} |
24 | ) |
25 | |
26 | UP2DATE="updatecmd_sourceforge ${PNAME}" |
27 | |
28 | src_prepare() |
29 | { |
30 | munpack ${SRCFILE} || die |
31 | cd ${SRCDIR} |
32 | |
33 | # fix libdir |
34 | sed -i "/TARGETS epub/ s:lib:$(mlibdir):g" src/libepub/CMakeLists.txt || die |
35 | } |