httrack: fix cross compilation and misc tweaks.

Close #1277
This commit is contained in:
Juan RP 2015-04-09 07:46:38 +02:00
parent a1ac4e50eb
commit 633988609c

View file

@ -1,7 +1,9 @@
# Template file for 'httrack'
pkgname="httrack" pkgname="httrack"
version="3.48.21" version="3.48.21"
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static --with-zlib=${XBPS_CROSS_BASE}/usr"
short_desc="A free and easy-to-use offline browser utility" short_desc="A free and easy-to-use offline browser utility"
maintainer="mid-kid <esteve.varela@gmail.com>" maintainer="mid-kid <esteve.varela@gmail.com>"
license="GPL-3" license="GPL-3"
@ -12,11 +14,10 @@ makedepends="zlib-devel libressl-devel"
httrack-devel_package() { httrack-devel_package() {
short_desc+=" - development files" short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}" depends="${makedepends} ${sourcepkg}-${version}_${revision}"
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
vmove usr/share/httrack/libtest vmove usr/share/httrack/libtest
vmove "usr/lib/*.a" vmove usr/lib/*.so
vmove "usr/lib/*.so"
} }
} }