1 DESCRIPTION = "A Tool for Mirroring FTP and HTTP Servers"
2 HOMEPAGE = "http://www.gnu.org/software/wget/"
3 SECTION = "Productivity/Networking/Web/Utilities"
14 RPROVIDES_wget += "wget"
16 #PROVIDES by wget-locale
17 PROVIDES += "wget-locale "
18 RPROVIDES_wget-locale += "wget-locale "
19 # the PROVIDES rules is ignore "wget-lang-all = 1.13.4"
20 PROVIDES += "wget-lang-all"
21 RPROVIDES_wget-locale += "wget-lang-all"
24 #RDEPENDS of wget-locale (${PN}-locale )
25 RDEPENDS_${PN}-locale += "wget"
32 DEPENDS += "automake-native"
35 chmod -Rf a+rX,u+w,g-w,o-w ${S}
37 cp ${S}/packaging/wget.manifest .
49 CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ;
50 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
51 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
52 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
55 CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ;
56 CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ;
57 FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ;
58 autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \
59 --target=x86_64-tizen-linux \
66 --datadir=/usr/share \
67 --includedir=/usr/include \
69 --libexecdir=/usr/libexec \
70 --localstatedir=/var \
71 --sharedstatedir=/usr/com \
72 --mandir=/usr/share/man \
73 --infodir=/usr/share/info --with-ssl=openssl
81 echo export RPM_BUILD_ROOT=${D}
94 rm -f ${D}/usr/share/info/dir
95 find ${D} -regex ".*\.la$" | xargs rm -f --
96 find ${D} -regex ".*\.a$" | xargs rm -f --
97 /usr/share/spec2yocto/macro/lib/find-lang.sh ${D} wget
105 PACKAGES += "wget-locale"
108 wget_files += "wget.manifest"
109 wget_files += "doc/sample.wgetrc util/rmold.pl"
110 wget_files += "/usr/share/man/*/wget*"
111 wget_files += "/usr/share/info/wget*"
112 wget_files += "/etc/wgetrc"
113 wget_files += "/usr/bin/*"
115 wget-locale_files = ""
117 FILES_${PN} = "${wget_files}"
118 FILES_${PN}-locale = "${wget-locale_files}"
121 PKG_wget-locale= "wget-locale"
123 require wget-extraconf.inc