M7350/oe-core/meta-tp/recipes/cgic/cgic.bb

30 lines
503 B
BlitzBasic
Raw Normal View History

2024-09-09 08:57:42 +00:00
DESCRIPTION = "tplink cgic lib."
inherit tp-link-common
HOMEPAGE = "http://www.boutell.com/cgic/"
PR = "r6"
SRC_DIR = "${TP-PROPRIETARY}/cgic"
S = "${WORKDIR}/${PN}"
FILES_${PN} += "/usr/lib"
#Disable the split of debug information into -dbg files
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
PACKAGES = "${PN}"
do_compile () {
oe_runmake
}
do_install () {
install -d ${D}${includedir}
install -m 0644 *.h ${D}${includedir}
install -d ${D}${libdir}
install -m 0644 libcgic.so ${D}${libdir}/
}