1 DESCRIPTION = "X.Org build utilities"
2 HOMEPAGE = "http://nohomepage.org"
3 SECTION = "Development/System"
12 #PROVIDES by util-macros
13 PROVIDES += "util-macros"
14 RPROVIDES_util-macros += "util-macros"
21 chmod -Rf a+rX,u+w,g-w,o-w ${S}
22 #setup -q -n util-macros-1.17
23 cp ${S}/packaging/util-macros.manifest .
35 CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ;
36 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
37 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
38 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
41 CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ;
42 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
43 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
44 autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \
45 --target=x86_64-tizen-linux \
52 --datadir=/usr/share \
53 --includedir=/usr/include \
55 --libexecdir=/usr/libexec \
56 --localstatedir=/var \
57 --sharedstatedir=/usr/com \
58 --mandir=/usr/share/man \
59 --infodir=/usr/share/info
67 echo export RPM_BUILD_ROOT=${D}
80 rm -f ${D}/usr/share/info/dir
81 find ${D} -regex ".*\.la$" | xargs rm -f --
82 find ${D} -regex ".*\.a$" | xargs rm -f --
85 rm -rf ${D}/usr/share/info
86 rm -rf ${D}/usr/share/doc/packages
87 rm -rf ${D}/usr/share/doc/util-macros
88 rm -rf ${D}/usr/share/doc/util-macros-1.17
89 rm -rf ${D}/usr/share/gtk-doc
90 rm -rf ${D}/usr/share/doc
91 rm -rf ${D}/usr/share/man
92 find ${D} -regex ".*/man/man./.*.[0-9]" | xargs rm -f --
93 find ${D} -regex ".*/man/../man./.*.[0-9]" | xargs rm -f --
94 find ${D} -regex ".*/man/man./.*.[0-9]pm" | xargs rm -f --
95 rm -rf ${D}/usr/share/util-macros/INSTALL
101 PACKAGES += "util-macros"
103 util-macros_files = ""
104 util-macros_files += "util-macros.manifest"
105 util-macros_files += "/usr/share/aclocal/*"
106 util-macros_files += "/usr/share/pkgconfig/*"
108 FILES_${PN} = "${util-macros_files}"
110 PKG_util-macros= "util-macros"
112 require util-macros-extraconf.inc