Magellan Linux

Contents of /branches/magellan-next/extras/sqlitebrowser/sqlitebrowser-1.3-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9586 - (show annotations) (download)
Thu Dec 22 11:13:52 2011 UTC (12 years, 4 months ago) by niro
File size: 936 byte(s)
imported from trunk
1 # $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 sminclude mtools xdg qt3
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 compilation against glibc >=2.10
33 sed -i 's:getline:sqlbrowser_getline:' sqlitebrowser/sqlbrowser_util.c || die
34 }
35
36 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