1 DESCRIPTION = "The Chunky Loop Generator"
2 HOMEPAGE = "http://www.cloog.org/"
3 SECTION = "Development/Toolchain"
12 #PROVIDES by cloog-isl-devel
13 PROVIDES += "cloog-isl-devel"
14 RPROVIDES_cloog-isl-devel += "cloog-isl-devel"
15 RPROVIDES_cloog-isl-devel += "cloog-isl-dev"
17 #PROVIDES by cloog-isl
18 PROVIDES += "cloog-isl"
19 RPROVIDES_cloog-isl += "cloog-isl"
21 #PROVIDES by libcloog-isl
22 PROVIDES += "libcloog-isl"
23 RPROVIDES_libcloog-isl += "libcloog-isl"
26 #RDEPENDS of cloog-isl-devel (${PN}-devel)
27 RDEPENDS_${PN}-devel += "libcloog-isl"
32 DEPENDS += "isl-devel"
33 DEPENDS += "gmp-devel"
34 DEPENDS += "libtool-cross"
37 chmod -Rf a+rX,u+w,g-w,o-w ${S}
38 #setup -q -n cloog-0.18.0
50 CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ;
51 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
52 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
53 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
56 CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ;
57 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
58 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
59 autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \
60 --target=x86_64-tizen-linux \
67 --datadir=/usr/share \
68 --includedir=/usr/include \
70 --libexecdir=/usr/libexec \
71 --localstatedir=/var \
72 --sharedstatedir=/usr/com \
73 --mandir=/usr/share/man \
74 --infodir=/usr/share/info --with-isl=system --disable-static
85 echo export RPM_BUILD_ROOT=${D}
98 rm -f ${D}/usr/share/info/dir
99 find ${D} -regex ".*\.la$" | xargs rm -f --
106 PACKAGES += "cloog-isl-devel"
107 PACKAGES += "cloog-isl"
108 PACKAGES += "libcloog-isl"
110 cloog-isl-devel_files = ""
111 cloog-isl-devel_files += "/usr/include/cloog"
112 cloog-isl-devel_files += "/usr/lib/libcloog-isl.so"
113 cloog-isl-devel_files += "/usr/lib/pkgconfig/*.pc"
116 cloog-isl_files += "/usr/bin/cloog"
118 libcloog-isl_files = ""
119 libcloog-isl_files += "/usr/lib/libcloog-isl.so.*"
121 FILES_${PN}-devel = "${cloog-isl-devel_files}"
122 FILES_${PN} = "${cloog-isl_files}"
123 FILES_lib${PN} = "${libcloog-isl_files}"
125 PKG_cloog-isl-devel= "cloog-isl-devel"
126 PKG_cloog-isl= "cloog-isl"
127 PKG_libcloog-isl= "libcloog-isl"
129 require cloog-isl-extraconf.inc