1 DESCRIPTION = "Utility to create index of X font files"
2 HOMEPAGE = "http://xorg.freedesktop.org/"
3 SECTION = "System/X11/Utilities"
12 #PROVIDES by mkfontdir
13 PROVIDES += "mkfontdir"
14 RPROVIDES_mkfontdir += "mkfontdir"
17 #RDEPENDS of mkfontdir (${PN})
18 RDEPENDS_${PN} += "mkfontscale"
23 DEPENDS += "pkgconfig-native"
24 DEPENDS += "pkgconfig(xorg-macros)"
27 chmod -Rf a+rX,u+w,g-w,o-w ${S}
29 cp ${S}/packaging/mkfontdir.manifest .
41 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 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
47 CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ;
48 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
49 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
50 autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \
51 --target=x86_64-tizen-linux \
58 --datadir=/usr/share \
59 --includedir=/usr/include \
61 --libexecdir=/usr/libexec \
62 --localstatedir=/var \
63 --sharedstatedir=/usr/com \
64 --mandir=/usr/share/man \
65 --infodir=/usr/share/info
73 echo export RPM_BUILD_ROOT=${D}
86 rm -f ${D}/usr/share/info/dir
87 find ${D} -regex ".*\.la$" | xargs rm -f --
88 find ${D} -regex ".*\.a$" | xargs rm -f --
94 PACKAGES += "mkfontdir"
97 mkfontdir_files += "mkfontdir.manifest"
98 mkfontdir_files += "ChangeLog COPYING README"
99 mkfontdir_files += "/usr/bin/mkfontdir"
100 mkfontdir_files += "/usr/share/man/man1/mkfontdir.1.gz"
102 FILES_${PN} = "${mkfontdir_files}"
104 PKG_mkfontdir= "mkfontdir"
106 require mkfontdir-extraconf.inc