elfutils: Remove clearing of library files
[termux-packages] / packages / serf / build.sh
index 4e6e7cb..c9f1333 100644 (file)
@@ -1,4 +1,4 @@
-TERMUX_PKG_HOMEPAGE=https://code.google.com/p/serf/
+TERMUX_PKG_HOMEPAGE=http://serf.apache.org/
 TERMUX_PKG_DESCRIPTION="High performance C-based HTTP client library"
 TERMUX_PKG_VERSION=1.3.8
 TERMUX_PKG_SRCURL=http://serf.googlecode.com/svn/src_releases/serf-${TERMUX_PKG_VERSION}.tar.bz2
@@ -15,4 +15,6 @@ termux_step_make_install () {
              OPENSSL=$TERMUX_PREFIX \
               PREFIX=$TERMUX_PREFIX \
              install
+        # Avoid specifying -lcrypt:
+        perl -p -i -e 's/-lcrypt //' $TERMUX_PREFIX/lib/pkgconfig/serf-1.pc
 }