Magellan Linux

Annotation of /trunk/extras/sqlitebrowser/sqlitebrowser-1.3-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4493 - (hide annotations) (download)
Wed Dec 23 22:07:55 2009 UTC (14 years, 6 months ago) by niro
File size: 936 byte(s)
-fixed compilation against glibc >=2.10
1 niro 3805 # $Id
2    
3     PNAME="sqlitebrowser"
4     PVER="1.3"
5     PBUILD="r4"
6    
7     PCATEGORIE="dev-db"
8     STATE="unstable"
9    
10     DESCRIPTION="SQLite Database browser is a light GUI editor for SQLite databases, built on top of QT3."
11     HOMEPAGE="http://sourceforge.net/projects/sqlitebrowser/"
12    
13     DEPEND=">= dev-db/sqlite-3"
14    
15     SRCFILE="${PNAME}-${PVER}-src.tar.gz"
16     SRCDIR="${BUILDDIR}/${PNAME}"
17    
18 niro 4493 sminclude mtools xdg qt3
19 niro 3805
20     SRC_URI=(
21     sourceforge://${PNAME}/${SRCFILE}
22     mirror://${PNAME}/${SRCFILE}
23     )
24    
25     UP2DATE="updatecmd_sourceforge ${PNAME}"
26    
27 niro 4493 src_prepare()
28     {
29     munpack ${SRCFILE} || die
30     cd ${SRCDIR}
31    
32     # fix compilation against glibc >=2.10
33     sed -i 's:getline:sqlbrowser_getline:' sqlitebrowser/sqlbrowser_util.c || die
34     }
35    
36 niro 3805 src_compile()
37     {
38     cd ${SRCDIR}
39     ${QMAKE} || die
40     mmake all || die
41     }
42    
43     src_install()
44     {
45     cd ${SRCDIR}
46    
47     minstallexec ${PNAME}/${PNAME} || die
48     minstallpixmap ${PNAME}/images/icone16.png ${PNAME}.png || die
49     minstall_desktop_icon --categories Development || die
50     }

Properties

Name Value
svn:keywords Id