Annotation of /trunk/extras/sqlitebrowser/sqlitebrowser-1.3-r2.smage2
Parent Directory | Revision Log
Revision 2 -
(hide annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1236 byte(s)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1236 byte(s)
import repo
1 | niro | 2 | # $Header: /magellan-cvs/smage/sqlitebrowser/sqlitebrowser-1.3-r2.smage2,v 1.4 2008/02/07 14:23:54 niro Exp $ |
2 | |||
3 | PNAME="sqlitebrowser" | ||
4 | PVER="1.3" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | PCATEGORIE="dev-db" | ||
8 | STATE="testing" | ||
9 | |||
10 | DESCRIPTION="SQLite Database browser is a light GUI editor for SQLite databases, built on top of QT." | ||
11 | HOMEPAGE="http://sourceforge.net/projects/sqlitebrowser/" | ||
12 | |||
13 | DEPEND=">= x11-libs/qt-3 | ||
14 | >= dev-db/sqlite-3" | ||
15 | |||
16 | SDEPEND=">= dev-util/desktop-file-utils-0.10" | ||
17 | |||
18 | SRCFILE="${PNAME}-${PVER}-src.tar.gz" | ||
19 | SRCDIR="${BUILDDIR}/${PNAME}" | ||
20 | |||
21 | sminclude mbuild mtools | ||
22 | |||
23 | SRC_URI=( | ||
24 | sourceforge://${PNAME}/${SRCFILE} | ||
25 | mirror://${PNAME}/${SRCFILE} | ||
26 | ) | ||
27 | |||
28 | src_compile() | ||
29 | { | ||
30 | cd ${SRCDIR} | ||
31 | qmake || die | ||
32 | mmake all || die | ||
33 | } | ||
34 | |||
35 | src_install() | ||
36 | { | ||
37 | cd ${SRCDIR} | ||
38 | |||
39 | minstallexec ${PNAME}/${PNAME} || die | ||
40 | minstallpixmap ${PNAME}/images/icone16.png ${PNAME}.png || die | ||
41 | |||
42 | cat > ${SRCDIR}/${PNAME}.desktop << EOF | ||
43 | [Desktop Entry] | ||
44 | Encoding=UTF-8 | ||
45 | Name=${PNAME} | ||
46 | Comment= | ||
47 | Exec=/usr/bin/${PNAME} | ||
48 | Icon=${PNAME}.png | ||
49 | Terminal=false | ||
50 | Type=Application | ||
51 | EOF | ||
52 | desktop-file-install \ | ||
53 | --vendor sourceforge \ | ||
54 | --delete-original \ | ||
55 | --dir ${BINDIR}/usr/share/applications \ | ||
56 | --add-category X-Magellan-Extra \ | ||
57 | --add-category Application \ | ||
58 | --add-category Development \ | ||
59 | ${SRCDIR}/${PNAME}.desktop | ||
60 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |