Files
francis.wang 4c86c082a2 Initial commit: OpenWrt-Yocto monorepo
Combine poky (Yocto scarthgap), meta-openembedded (scarthgap), and
meta-openwrt into a single repository.

Components:
- poky/             Yocto core framework (BitBake + OE-Core)
- meta-openembedded/ Community layers (meta-oe, meta-python, meta-networking)
- meta-openwrt/     OpenWrt customization layer
- setup-env.sh      One-click build environment setup
- README.md         Project documentation
2026-07-11 13:28:01 +08:00

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