Magellan Linux

Annotation of /branches/R11-unstable/include/k3b_i18n.sminc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 24893 - (hide annotations) (download)
Tue Nov 25 02:21:44 2014 UTC (9 years, 5 months ago) by niro
File size: 619 byte(s)
-release R11-unstable
1 niro 2 # $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