Added libtool fixup to libtool-stage.
[oe-lite:cbss-core.git] / conf / package.conf
1 #
2 # Packaging variables
3 #
4
5 # Package name
6 PN  = "${@bb.parse.BBHandler.vars_from_file(bb.data.getVar('FILE',d),d)[0] or 'defaultpkgname'}"
7 # Package version (upstream version)
8 PV  = "${@bb.parse.BBHandler.vars_from_file(bb.data.getVar('FILE',d),d)[1] or '1'}"
9 # Package revision (OE-Lite packaging revision number)
10 PR  = "${@bb.parse.BBHandler.vars_from_file(bb.data.getVar('FILE',d),d)[2] or 'r0'}"
11 # Full package name and version
12 PF  = "${PN}-${PV}-${PR}"
13 # Upstream package name and version
14 P   = "${PN}-${PV}"
15 # Extended Package Version
16 EPV = "${PV}-${PR}"
17
18 # Base package names
19 # Automatically derives "foo" from "foo-native", "foo-cross" and so on.
20 SPECIAL_PKGSUFFIX = "-canadian-cross -sdk-cross -cross -native -sdk"
21 BPN = "${@base_prune_suffix('${PN}', '${SPECIAL_PKGSUFFIX}'.split(), d)}"
22 BP  = "${BPN}-${PV}"
23
24 # Define a PR for kernels that machines can override so things like
25 # modules get rebuilt
26 MACHINE_KERNEL_PR = ""
27
28 # Package info
29 SECTION         = "unknown"
30 PRIORITY        = "unknown"
31 DESCRIPTION     = "Version ${PV}-${PR} of package ${PN}"
32 LICENSE         = "unknown"
33 MAINTAINER      = "OE Lite community <oe-lite@lists.doredevelopment.dk>"
34 HOMEPAGE        = "unknown"
35
36 # Package dependencies and provides.
37
38 # Ensure that -dev packages recommend the corresponding -dev packages of their
39 # deps, and the same for -dbg.
40 DEPCHAIN_PRE    = ""
41 DEPCHAIN_POST   = "-dev -dbg"
42
43 RDEPENDS        = ""
44 DEPENDS         = ""
45 PROVIDES_${PN}  = "${PN} ${P} ${PF}"
46
47 SOLIBS          = ".so.*"
48 SOLIBSDEV       = ".so"
49
50 PACKAGES        = "${PN}-dbg ${PN} ${PN}-doc ${PN}-dev ${PN}-locale"
51 FILES           = ""
52
53 FILES_${PN}     = "\
54 ${base_bindir}/* ${base_sbindir}/* \
55 ${base_libdir}/*${SOLIBS} \
56 ${bindir}/* ${sbindir}/* \
57 ${libexecdir}/* ${libdir}/lib*${SOLIBS} ${libdir}/${PN}/* \
58 ${sysconfdir} ${sharedstatedir} ${localstatedir} \
59 ${datadir}/${PN} \
60 "
61
62 FILES_${PN}-doc = "${docdir} ${mandir} ${infodir}"
63 ALLOW_EMPTY_${PN}-doc = "1"
64 SECTION_${PN}-doc = "doc"
65
66 FILES_${PN}-dev = "\
67 ${includedir} \
68 ${libdir}/*/include \
69 ${libdir}/lib*${SOLIBSDEV} \
70 ${libdir}/*.la ${libdir}/*.a ${libdir}/*.o \
71 ${libdir}/pkgconfig \
72 ${base_libdir}/*.a ${base_libdir}/*.o \
73 ${datadir}/aclocal ${datadir}/pkgconfig \
74 "
75 ALLOW_EMPTY_${PN}-dev = "1"
76 SECTION_${PN}-dev = "devel"
77 DEPENDS_${PN}-dev = "${PN}"
78 RDEPENDS_${PN}-dev = "${PN}"
79
80 FILES_${PN}-dbg = "\
81 ${bindir}/.debug ${sbindir}/.debug \
82 ${libexecdir}/.debug ${libdir}/.debug \
83 ${base_bindir}/.debug ${base_sbindir}/.debug \
84 ${base_libdir}/.debug ${libdir}/${PN}/.debug \
85 "
86 ALLOW_EMPTY_${PN}-dbg = "1"
87 SECTION_${PN}-dbg = "devel"
88
89 FILES_${PN}-locale = "${datadir}/locale"
90 ALLOW_EMPTY_${PN}-locale = "1"
91