summaryrefslogtreecommitdiff
path: root/recipes/freesmartphone/libgsm0710mux_git.bb
blob: 108c6d5672853fcaa709731daabd6069a0a488f2 (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
37
38
39
DESCRIPTION = "A GSM 07.10 Multiplexing Engine"
HOMEPAGE = "http://www.freesmartphone.org/index.php/Implementations/libgsm0710mux"
AUTHOR = "Michael 'Mickey' Lauer <mlauer@vanille-media.de>"
LICENSE = "GPL"
SECTION = "devel"
DEPENDS = "libgsm0710 vala-native glib-2.0 libfsotransport"
PV = "0.3.4+gitr${SRCREV}"
PR = "r1"

SRC_URI = "\
  ${FREESMARTPHONE_GIT}/libgsm0710mux;protocol=git;branch=master \
  file://abyss.conf \
"
S = "${WORKDIR}/git"

inherit autotools_stage pkgconfig

do_install_append() {
	install -d ${D}${sysconfdir}
	install -m 0644 ${WORKDIR}/abyss.conf ${D}${sysconfdir}/
}

PACKAGES =+ "${PN}-config"

FILES_${PN} += "${sysconfdir} ${datadir}"
# ship vapi file
FILES_${PN}-dev += "${datadir}/vala"

RRECOMMENDS_${PN} = "${PN}-config"

FILES_${PN}-config = "\
  ${sysconfdir}/abyss.conf \
"

CONFFILES_${PN}-config = "\
  ${sysconfdir}/abyss.conf \
"

PACKAGE_ARCH_${PN} = "${BASE_PACKAGE_ARCH}"