From dd9b89b3fafe8cb08c184fc74b5c2133cc658b6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Fri, 15 May 2020 09:03:58 +0100 Subject: groups/241.native_packages_inet.group:icecast:${PKG_URL}: update dead URL. groups/241.native_packages_inet.group:icecast: downgraded to v2.4.4. groups/241.native_packages_inet.group:icecast:${PKG_CFLAGS_CONFIGURE_EXTRA}: configure w/ -I${PREFIX_NATIVE}/include/libxml2. groups/241.native_packages_inet.group:icecast:${PKG_CONFIGURE_ARGS_EXTRA}: configure w/ --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. vars/libxslt.vars:pkg_libxslt_install_make_post(): install ${PREFIX}/bin/xslt-config. --- groups/241.native_packages_inet.group | 9 +++++---- vars/libxslt.vars | 17 +++++++++++++++++ 2 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 vars/libxslt.vars diff --git a/groups/241.native_packages_inet.group b/groups/241.native_packages_inet.group index afd23943..8302a3cc 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 00000000..62b87174 --- /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 -- cgit v1.2.3