summaryrefslogtreecommitdiff
path: root/packages/freesmartphone/libgsm0710mux_git.bb
blob: 1d69e3d9d305e11092da58b1df0a3c4bce644fe7 (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
DESCRIPTION = "A GSM 07.10 Multiplexing Engine"
AUTHOR = "Michael 'Mickey' Lauer <mlauer@vanille-media.de>"
LICENSE = "GPL"
SECTION = "devel"
DEPENDS = "libgsm0710 vala-native glib-2.0"
PV = "0.3.1+gitr${SRCREV}"
PR = "r2"

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}"