1 DESCRIPTION = "A hash table for C structures"
2 HOMEPAGE = "http://nohomepage.org"
3 SECTION = "System/Kernel"
4 LICENSE = "BSD-style single-clause"
10 inherit autotools-brokensep
17 #PROVIDES by uthash-dev
26 chmod -Rf a+rX,u+w,g-w,o-w ${S}
28 cp ${S}/packaging/uthash.manifest .
33 bb.build.exec_func('do_prep', d)
44 CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ;
45 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
46 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
47 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
56 echo export RPM_BUILD_ROOT=${D}
64 mkdir -p ${D}${prefix}/include
66 cp utarray.h uthash.h utlist.h utstring.h ${D}${prefix}/include
73 uthash-dev_files += "uthash.manifest"
74 uthash-dev_files += "${prefix}/include/utarray.h"
75 uthash-dev_files += "${prefix}/include/uthash.h"
76 uthash-dev_files += "${prefix}/include/utlist.h"
77 uthash-dev_files += "${prefix}/include/utstring.h"
79 FILES_${PN}-dev = "${uthash-dev_files}"
81 PKG_uthash-dev= "uthash-dev"
83 require uthash-extraconf.inc