-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathffalarms.bb
45 lines (35 loc) · 1017 Bytes
/
ffalarms.bb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
DESCRIPTION = "Finger friendly alarms"
HOMEPAGE = "http://ffalarms.projects.openmoko.org/"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
AUTHOR = "Łukasz Pankowski <[email protected]>"
MAINTAINER = "Łukasz Pankowski <[email protected]>"
SECTION = "x11/applications"
PRIORITY = "optional"
DEPENDS = "elementary libical"
PV = "0.4"
PR = "r0"
SRC_URI = "file://ffalarms-${PV}.tar.gz"
PACKAGES = "${PN} ${PN}-dbg ${PN}-doc"
FILES_${PN} += "${datadir}/${PN} ${datadir}/applications ${datadir}/pixmaps"
RDEPENDS = "atd alsa-utils-amixer ttf-dejavu-sans"
RSUGGESTS = "mplayer alsa-utils-aplay frameworkd"
# disable, otherwise linker reports undefined symbols
ASNEEDED = ""
do_configure() {
oe_runmake configure
}
do_compile() {
oe_runmake VAPIDIR=${STAGING_DATADIR}/vala/vapi
}
do_install() {
oe_runmake install DESTDIR=${D} SYSCONFDIR=${sysconfdir}
}
pkg_postinst_${PN}() {
#!/bin/sh
/etc/init.d/dbus-1 reload
}
pkg_postrm_${PN}() {
#!/bin/sh
/etc/init.d/dbus-1 reload
}