summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-05-15 09:03:58 +0100
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-05-15 09:03:58 +0100
commitdd9b89b3fafe8cb08c184fc74b5c2133cc658b6b (patch)
treeb32b60671f3130c9dee887437901f26d5457f7ca
parent3d87cd0b998a28b84536c02d8a2f30266f7c771a (diff)
downloadmidipix_build-dd9b89b3fafe8cb08c184fc74b5c2133cc658b6b.tar.bz2
midipix_build-dd9b89b3fafe8cb08c184fc74b5c2133cc658b6b.tar.xz
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.
-rw-r--r--groups/241.native_packages_inet.group9
-rw-r--r--vars/libxslt.vars17
2 files changed, 22 insertions, 4 deletions
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