Magellan Linux

Contents of /branches/R11-stable/include/k3b_i18n.sminc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (16 years, 1 month ago) by niro
Original Path: trunk/core/include/k3b_i18n.sminc
File size: 619 byte(s)
import repo
1 # $Header: /magellan-cvs/smage/include/k3b_i18n.sminc,v 1.5 2005/10/23 16:44:07 niro Exp $
2 # functions for k3b i18n
3 #
4 # K3B_LANG must be given
5 #
6
7 sminclude kde3
8
9 k3b_i18n_src_prepare()
10 {
11 munpack ${SRCFILE} || die
12 }
13
14 k3b_i18n_src_compile()
15 {
16 cd ${SRCDIR}
17
18 kde3_configure || die
19 mmake -C ${K3B_LANG} || die
20 }
21
22 k3b_i18n_src_install()
23 {
24 local i
25
26 cd ${SRCDIR}
27 mmake -C ${K3B_LANG} DESTDIR=${BINDIR} install || die
28
29 for i in AUTHORS ChangeLog COPYING LICENSE NEWS README TODO
30 do
31 if [ -f ${SRCDIR}/${i} ]
32 then
33 minstalldocs ${i} || die
34 fi
35 done
36 }
37
38 export_inherits k3b_i18n src_prepare src_compile src_install