mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
5c5994a3d5
* avoid dev-so QA issue
* avoid separate package for the library, because the current "lib${PN}"
has a bit ridiculous name in mulilib builds:
lib32-liblib32-libfaketime
* fixes:
ERROR: lib32-libfaketime-0.9.10-r0 do_package_qa: QA Issue: non -dev/-dbg/nativesdk- package lib32-liblib32-libfaketime contains symlink .so '/usr/lib32/faketime/libfaketime.so' [dev-so]
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
29 lines
861 B
BlitzBasic
29 lines
861 B
BlitzBasic
DESCRIPTION = "A library for faking the system time in user-space programs"
|
|
SECTION = "libs"
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|
|
|
SRCREV = "d475b925943ad404c6c728ac868dc73949e7281c"
|
|
|
|
SRC_URI = "git://github.com/wolfcw/libfaketime.git;branch=master;protocol=https \
|
|
file://0001-Makefile-Detect-compiler-in-makefile.patch \
|
|
"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
CFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE"
|
|
|
|
do_configure[noexec] = "1"
|
|
do_compile () {
|
|
oe_runmake
|
|
}
|
|
do_install () {
|
|
install -d ${D}${libdir}/faketime
|
|
oe_libinstall -C src libfaketime ${D}${libdir}/faketime
|
|
install -d ${D}${bindir}
|
|
install -m 0755 src/faketime ${D}${bindir}
|
|
}
|
|
|
|
FILES:${PN} = "${bindir}/faketime ${libdir}/faketime/lib*${SOLIBS}"
|
|
FILES:${PN}-dev += "${libdir}/faketime/lib*${SOLIBSDEV}"
|