summaryrefslogtreecommitdiff
path: root/packages/gkdial/gkdial_1.8.1.bb
blob: 217325296dd1318241ab19fe358b38b934d94524 (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
inherit autotools pkgconfig gconf

DESCRIPTION = "GTK PPP dialing tool"
DEPENDS = "gconf-dbus gtk+ libglade gettext ppp gpe-su"
RDEPENDS = "ppp gconf-dbus gpe-su"
MAINTAINER = "Florian Boor <florian@kernelconcepts.de>"
SECTION = "gpe"
PRIORITY = "optional"

PR = "r2gpe1"

SRC_URI = "http://gkdial.sourceforge.net/downloads/${PN}-${PV}.tar.gz \
           file://gkdial-pgpe.patch;patch=1 \
           file://gkdial-ungnome.patch;patch=1;pnum=0 \
           file://gkdial-gladedir.patch;patch=1;pnum=0 \
           file://gkdial-gpepda.patch;patch=1;pnum=1 \
           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"
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
}