summaryrefslogtreecommitdiff
path: root/recipes/gkdial/gkdial_1.8.1.bb
blob: 41d55c4bc0b6885e19b3ec863c8872a10a8270bd (plain)
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
inherit autotools pkgconfig gconf

DESCRIPTION = "GTK PPP dialing tool"
DEPENDS = "gconf gtk+ libglade gettext ppp gpe-su"
RDEPENDS_${PN} = "ppp gconf gpe-su"
SECTION = "gpe"
PRIORITY = "optional"

PR = "r4"

SRC_URI = "http://familiar.handhelds.org/source/v0.8.2/${PN}-${PV}.tar.gz \
           file://gkdial-pgpe.patch \
           file://gkdial-ungnome.patch;striplevel=0 \
           file://gkdial-gladedir.patch;striplevel=0 \
           file://gkdial-gpepda.patch \
           file://gkdial.desktop \
           file://gkdial.png"

FILES_${PN} = "${sysconfdir}/chatscripts ${bindir} ${datadir}/pixmaps ${datadir}/applications"
FILES_${PN} += " ${datadir}/gkdial ${datadir}/gkdial/glade ${sysconfdir}/gconf/schemas"

CFLAGS_append = " -I${STAGING_KERNEL_DIR}/include -D_GNU_SOURCE"
LDFLAGS_append = " -Wl,--export-dynamic"

do_install_append () {
        mkdir -p  ${D}${datadir}/pixmaps
        install -m 0644 ${WORKDIR}/gkdial.png ${D}${datadir}/pixmaps/gkdial.png
        mkdir -p  ${D}${datadir}/applications
        install -m 0644 ${WORKDIR}/gkdial.desktop ${D}${datadir}/applications/gkdial.desktop
	mkdir -p ${D}${sysconfdir}/chatscripts
        mkdir -p ${D}${sysconfdir}/gconf/schemas
        install -m 0644 ${S}/gkdial.schemas ${D}${sysconfdir}/gconf/schemas/gkdial.schemas
}

SRC_URI[md5sum] = "b21c6f87b16e398a188a2ed7c5dcd387"
SRC_URI[sha256sum] = "851ce45628729684bfcb2fab53f18e9be8fecb5ec8b6805071706a0e8f5bf983"