1 DESCRIPTION = "A GNU Tool for Automatically Configuring Source Code"
2 HOMEPAGE = "http://www.gnu.org/software/autoconf"
3 SECTION = "Development/Tools/Building"
13 PROVIDES += "autoconf"
14 RPROVIDES_autoconf += "autoconf"
17 #RDEPENDS of autoconf (${PN})
18 RDEPENDS_${PN} += "m4"
19 RDEPENDS_${PN} += "perl"
28 chmod -Rf a+rX,u+w,g-w,o-w ${S}
29 #setup -q -n autoconf-2.69
30 cp ${S}/packaging/autoconf.manifest .
42 CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ;
43 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
44 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
45 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
48 CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ;
49 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
50 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
51 autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \
52 --target=noarch-tizen-linux \
59 --datadir=/usr/share \
60 --includedir=/usr/include \
62 --libexecdir=/usr/libexec \
63 --localstatedir=/var \
64 --sharedstatedir=/usr/com \
65 --mandir=/usr/share/man \
66 --infodir=/usr/share/info
70 trap 'test $? -ne 0 && cat tests/testsuite.log' EXIT
78 echo export RPM_BUILD_ROOT=${D}
91 rm -f ${D}/usr/share/info/dir
92 find ${D} -regex ".*\.la$" | xargs rm -f --
93 find ${D} -regex ".*\.a$" | xargs rm -f --
94 rm -f $RPM_BUILD_ROOT/usr/share/emacs/site-lisp/*.el*
95 # info's dir file is not auto ignored on some systems
96 rm -rf ${D}/usr/share/info/dir
102 PACKAGES += "autoconf"
105 autoconf_files += "autoconf.manifest"
106 autoconf_files += "COPYING"
107 autoconf_files += "/usr/bin/*"
108 autoconf_files += "/usr/share/autoconf"
109 autoconf_files += "/usr/share/info/*.gz"
110 autoconf_files += "/usr/share/man/man1/*.gz"
112 FILES_${PN} = "${autoconf_files}"
114 PKG_autoconf= "autoconf"
116 require autoconf-extraconf.inc