diff --git a/groups/241.native_packages_inet.group b/groups/241.native_packages_inet.group index afd2394..8302a3c 100644 --- a/groups/241.native_packages_inet.group +++ b/groups/241.native_packages_inet.group @@ -70,10 +70,11 @@ pacman rsync socat thttpd w3m weechat wget whois")"; : ${PKG_HTTPD_ENV_VARS_EXTRA:="PCRE_LIBS=-L${PREFIX_NATIVE}/lib -lpcre"}; : ${PKG_HTTPD_DISABLED:=1}; : ${PKG_ICECAST_DEPENDS:="curl expat libressl libvorbis libxml2 libxslt"}; -: ${PKG_ICECAST_SHA256SUM:=eee7644a6bc703f5705ebe6b79c8d20a66a13cc577c60665e2bc2c34e3a0536d}; -: ${PKG_ICECAST_VERSION:=2.4.99.2-283}; -: ${PKG_ICECAST_URL:=https://people.xiph.org/~epirat/Icecast/icecast-${PKG_ICECAST_VERSION}.tar.gz}; -: ${PKG_ICECAST_CONFIGURE_ARGS_EXTRA:="--without-speex"}; +: ${PKG_ICECAST_SHA256SUM:=49b5979f9f614140b6a38046154203ee28218d8fc549888596a683ad604e4d44}; +: ${PKG_ICECAST_VERSION:=2.4.4}; +: ${PKG_ICECAST_URL:=http://downloads.xiph.org/releases/icecast/icecast-${PKG_ICECAST_VERSION}.tar.gz}; +: ${PKG_ICECAST_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include/libxml2"}; +: ${PKG_ICECAST_CONFIGURE_ARGS_EXTRA:="--with-curl=${PREFIX_NATIVE} --with-ogg=${PREFIX_NATIVE} --with-openssl=${PREFIX_NATIVE} --with-theora=${PREFIX_NATIVE} --with-vorbis=${PREFIX_NATIVE} --with-xslt-config=${PREFIX}/bin/xslt-config --without-speex"}; : ${PKG_INETUTILS_DEPENDS:="ncurses"}; : ${PKG_INETUTILS_SHA256SUM:=849d96f136effdef69548a940e3e0ec0624fc0c81265296987986a0dd36ded37}; : ${PKG_INETUTILS_VERSION:=1.9.4}; diff --git a/vars/libxslt.vars b/vars/libxslt.vars new file mode 100644 index 0000000..62b8717 --- /dev/null +++ b/vars/libxslt.vars @@ -0,0 +1,17 @@ +# +# set +o errexit -o noglob -o nounset is assumed. +# + +pkg_libxslt_install_make_post() { + if [ -e "${PREFIX}/bin/xslt-config" ]\ + && ! rtl_fileop rm "${PREFIX}/bin/xslt-config"; then + return 1; + fi; + if ! sed '/^prefix=$/s,^prefix=$,prefix='"${PREFIX_NATIVE}"',' "${PREFIX_NATIVE}/bin/xslt-config" > "${PREFIX}/bin/xslt-config"; then + return 1; + else + rtl_fileop chmod +x "${PREFIX}/bin/xslt-config"; + fi; +}; + +# vim:filetype=sh textwidth=0