added my Recipes
This commit is contained in:
24
meta-st/meta-st-openstlinux/recipes-samples/demo/qrenc.bb
Normal file
24
meta-st/meta-st-openstlinux/recipes-samples/demo/qrenc.bb
Normal file
@@ -0,0 +1,24 @@
|
||||
SUMMARY = "qrenc which uses libqrencode to generate QR-code"
|
||||
|
||||
LICENSE = "LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/LGPL-2.1-only;md5=1a6d268fd218675ffea8be556788b780"
|
||||
|
||||
DEPENDS += "qrencode"
|
||||
DEPENDS += "libpng"
|
||||
|
||||
inherit pkgconfig
|
||||
|
||||
SRC_URI = " file://qrenc.c \
|
||||
file://Makefile \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${prefix}/bin/
|
||||
install -m 0755 ${B}/qrencode ${D}${prefix}/bin/
|
||||
}
|
||||
|
||||
FILES:${PN} += "${prefix}/bin/"
|
||||
|
||||
RDEPENDS:${PN} += "qrencode libpng"
|
||||
Reference in New Issue
Block a user