xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/unifdef/unifdef_2.12.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Selectively remove #ifdef statements from sources"
2*4882a593SmuzhiyunSECTION = "devel"
3*4882a593SmuzhiyunLICENSE = "BSD-2-Clause"
4*4882a593SmuzhiyunHOMEPAGE = "http://dotat.at/prog/unifdef/"
5*4882a593SmuzhiyunDESCRIPTION = "The unifdef utility selectively processes conditional C preprocessor #if and #ifdef directives. It removes from a file both the directives and the additional text that they delimit, while otherwise leaving the file alone."
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=3498caf346f6b77934882101749ada23 \
8*4882a593Smuzhiyun                    file://unifdef.c;endline=32;md5=6f4ee8085d6e6ab0f7cb4390e1a9c497 \
9*4882a593Smuzhiyun                    "
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunSRC_URI = "http://dotat.at/prog/${BPN}/${BP}.tar.xz"
12*4882a593SmuzhiyunSRC_URI[md5sum] = "ae8c0b3b4c43c1f6bc5f32412a820818"
13*4882a593SmuzhiyunSRC_URI[sha256sum] = "43ce0f02ecdcdc723b2475575563ddb192e988c886d368260bc0a63aee3ac400"
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunUPSTREAM_CHECK_REGEX = "unifdef-(?P<pver>((\d+\.*)+)(?![a-f0-9]{6,})).tar"
16*4882a593Smuzhiyun
17*4882a593Smuzhiyundo_install() {
18*4882a593Smuzhiyun	oe_runmake install DESTDIR=${D} prefix=${prefix}
19*4882a593Smuzhiyun}
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunBBCLASSEXTEND = "native"
22