Contents of /trunk/todo/skencil/skencil-0.6.17-r5.smage2
Parent Directory | Revision Log
Revision 2584 -
(show annotations)
(download)
Thu Jul 9 20:35:22 2009 UTC (15 years, 2 months ago) by niro
File size: 1308 byte(s)
Thu Jul 9 20:35:22 2009 UTC (15 years, 2 months ago) by niro
File size: 1308 byte(s)
-moved to 'todo'
1 | # $Header: /magellan-cvs/smage/skencil/skencil-0.6.17-r5.smage2,v 1.1 2008/04/01 12:14:38 niro Exp $ |
2 | |
3 | PNAME="skencil" |
4 | PVER="0.6.17" |
5 | PBUILD="r5" |
6 | |
7 | PCATEGORIE="media-gfx" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Skencil is a Free Software interactive vector drawing appliction." |
11 | HOMEPAGE="http://www.nongnu.org/skencil/index.html" |
12 | |
13 | DEPEND=">= dev-python/imaging-1.1.6 |
14 | >= dev-python/reportlab-1.21 |
15 | >= dev-python/pyxml-0.8.4 |
16 | >= dev-lang/tk-8.4" |
17 | |
18 | SDEPEND=">= sys-dev/gettext-0.17 |
19 | >= sys-apps/sed-4" |
20 | |
21 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
22 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
23 | |
24 | sminclude python |
25 | |
26 | SRC_URI=( |
27 | sourceforge://sketch/${SRCFILE} |
28 | mirror://${PNAME}/${SRCFILE} |
29 | ) |
30 | |
31 | src_prepare() |
32 | { |
33 | munpack ${SRCFILE} || die |
34 | cd ${SRCDIR} |
35 | |
36 | if [[ $(mlibdir) != lib ]] |
37 | then |
38 | sed -i -e "s:lib/:$(mlibdir)/:" \ |
39 | -e "s:lib':$(mlibdir)':" \ |
40 | {Pax,Filter,Sketch/Modules}/Makefile.pre.in \ |
41 | Plugins/Objects/Lib/multilinetext/{TextEditor,styletext}.py \ |
42 | setup.py || die |
43 | fi |
44 | } |
45 | |
46 | src_compile() |
47 | { |
48 | cd ${SRCDIR} |
49 | |
50 | python setup.py configure --with-nls || die |
51 | python_src_compile || die |
52 | } |
53 | |
54 | src_install() |
55 | { |
56 | cd ${SRCDIR} |
57 | |
58 | # skencil does not support --no-compile and --root from python_src_install |
59 | python setup.py install --prefix=/usr --dest-dir=${BINDIR} || die |
60 | |
61 | minstalldocs BUGS COPYING CREDITS FAQ NEWS PROJECTS README TODO || die |
62 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |