1 DESCRIPTION = "A hash table for C structures"
2 HOMEPAGE = "http://nohomepage.org"
3 SECTION = "System/Kernel"
4 LICENSE = "BSD-style single-clause"
11 inherit manifest autotools-brokensep
19 #PROVIDES by uthash-dev
20 PROVIDES += "uthash-dev"
29 chmod -Rf a+rX,u+w,g-w,o-w ${S}
31 cp ${S}/packaging/uthash.manifest .
36 bb.build.exec_func('do_prep', d)
47 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
56 export RPM_BUILD_ROOT=${D}
64 mkdir -p ${D}${prefix}/include
66 cp utarray.h uthash.h utlist.h utstring.h ${D}${prefix}/include
71 PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale"
72 PACKAGES += " uthash-dev "
75 uthash-dev_files += "${prefix}/include/utarray.h"
76 uthash-dev_files += "${prefix}/include/uthash.h"
77 uthash-dev_files += "${prefix}/include/utlist.h"
78 uthash-dev_files += "${prefix}/include/utstring.h"
79 MANIFESTFILES_${PN}-dev = "uthash.manifest"
81 FILES_${PN}-dev = "${uthash-dev_files}"
83 PKG_uthash-dev= "uthash-dev"
85 require uthash-extraconf.inc