diff options
-rw-r--r-- | libraries/libevhtp/libevhtp.SlackBuild | 10 | ||||
-rw-r--r-- | libraries/libevhtp/libevhtp.info | 6 |
2 files changed, 9 insertions, 7 deletions
diff --git a/libraries/libevhtp/libevhtp.SlackBuild b/libraries/libevhtp/libevhtp.SlackBuild index 4b6993221c..0697ea8e9c 100644 --- a/libraries/libevhtp/libevhtp.SlackBuild +++ b/libraries/libevhtp/libevhtp.SlackBuild @@ -25,13 +25,13 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libevhtp -VERSION=${VERSION:-1.2.10} +VERSION=${VERSION:-1.2.16} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -74,6 +74,8 @@ find -L . \ # fix wrong version number sed -i "s/@PROJECT_VERSION@/${VERSION}/" evhtp.pc.in +sed -i "s|/lib/pkgconfig|/lib$LIBDIRSUFFIX/pkgconfig|" CMakeLists.txt + mkdir -p build cd build cmake \ diff --git a/libraries/libevhtp/libevhtp.info b/libraries/libevhtp/libevhtp.info index 64efb10f0f..cdd66ddc85 100644 --- a/libraries/libevhtp/libevhtp.info +++ b/libraries/libevhtp/libevhtp.info @@ -1,8 +1,8 @@ PRGNAM="libevhtp" -VERSION="1.2.10" +VERSION="1.2.16" HOMEPAGE="https://github.com/criticalstack/libevhtp" -DOWNLOAD="https://github.com/criticalstack/libevhtp/archive/1.2.10/libevhtp-1.2.10.tar.gz" -MD5SUM="e7261c7e34654f78047431d169b88806" +DOWNLOAD="https://github.com/criticalstack/libevhtp/archive/1.2.16/libevhtp-1.2.16.tar.gz" +MD5SUM="6eebc21fe41201612ac814764bf7474a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |