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
18 #PROVIDES by uthash-dev
27 chmod -Rf a+rX,u+w,g-w,o-w ${S}
29 cp ${S}/packaging/uthash.manifest .
34 bb.build.exec_func('do_prep', d)
45 CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ;
46 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
47 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
48 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
57 echo export RPM_BUILD_ROOT=${D}
65 mkdir -p ${D}${prefix}/include
67 cp utarray.h uthash.h utlist.h utstring.h ${D}${prefix}/include
74 uthash-dev_files += "uthash.manifest"
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"
80 FILES_${PN}-dev = "${uthash-dev_files}"
82 PKG_uthash-dev= "uthash-dev"
84 require uthash-extraconf.inc