Magellan Linux

Contents of /trunk/extras/ebook-tools/ebook-tools-0.2.1-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12387 - (show annotations) (download)
Thu May 17 00:14:35 2012 UTC (12 years ago) by niro
File size: 617 byte(s)
auto added: ver bump to 0.2.1-r3
1 # $Id$
2
3 PNAME="ebook-tools"
4 PVER="0.2.1"
5 PBUILD="r3"
6
7 PCAT="app-text"
8
9 DESCRIPTION="Tools for accessing and converting various ebook file formats."
10 HOMEPAGE="http://ebook-tools.sourceforge.net/"
11
12 DEPEND=">= dev-libs/libxml2-2.7
13 >= dev-libs/libzip-0.10"
14
15 SRCFILE="${PNAME}-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 sminclude cmake
19
20 SRC_URI=(
21 sourceforge://${PNAME}/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 )
24
25 UP2DATE="updatecmd_sourceforge ${PNAME}"
26
27 src_prepare()
28 {
29 munpack ${SRCFILE} || die
30 cd ${SRCDIR}
31
32 # fix libdir
33 sed -i "/TARGETS epub/ s:lib:$(mlibdir):g" src/libepub/CMakeLists.txt || die
34 }