Contents of /branches/magellan-next/extras/sqlitebrowser/sqlitebrowser-2.0_b1-r1.smage2
Parent Directory | Revision Log
Revision 9588 -
(show annotations)
(download)
Thu Dec 22 11:52:21 2011 UTC (12 years, 9 months ago) by niro
File size: 840 byte(s)
Thu Dec 22 11:52:21 2011 UTC (12 years, 9 months ago) by niro
File size: 840 byte(s)
-fixed SRCFILE
1 | # $Id |
2 | |
3 | PNAME="sqlitebrowser" |
4 | PVER="2.0_b1" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="dev-db" |
8 | |
9 | DESCRIPTION="SQLite Database browser is a light GUI editor for SQLite databases, built on top of QT3." |
10 | HOMEPAGE="http://sourceforge.net/projects/sqlitebrowser/" |
11 | |
12 | DEPEND=">= dev-db/sqlite-3 |
13 | >= x11-libs/qt4-core-4.7 |
14 | >= x11-libs/qt4-gui-4.7" |
15 | |
16 | SRCFILE="${PNAME}_200_b1_src.tar.gz" |
17 | SRCDIR="${BUILDDIR}/trunk/${PNAME}" |
18 | |
19 | sminclude mtools xdg qt4 |
20 | |
21 | SRC_URI=( |
22 | sourceforge://${PNAME}/${SRCFILE} |
23 | mirror://${PNAME}/${SRCFILE} |
24 | ) |
25 | |
26 | UP2DATE="updatecmd_sourceforge ${PNAME}" |
27 | |
28 | src_prepare() |
29 | { |
30 | munpack ${SRCFILE} || die |
31 | } |
32 | |
33 | src_compile() |
34 | { |
35 | cd ${SRCDIR} |
36 | ${QMAKE} || die |
37 | mmake all || die |
38 | } |
39 | |
40 | src_install() |
41 | { |
42 | cd ${SRCDIR} |
43 | |
44 | minstallexec ${PNAME}/${PNAME} || die |
45 | minstallpixmap ${PNAME}/images/128.png ${PNAME}.png || die |
46 | minstall_desktop_icon --categories Development || die |
47 | } |