summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libevhtp/libevhtp.SlackBuild15
-rw-r--r--libraries/libevhtp/libevhtp.info6
2 files changed, 16 insertions, 5 deletions
diff --git a/libraries/libevhtp/libevhtp.SlackBuild b/libraries/libevhtp/libevhtp.SlackBuild
index 57d12c71d0..65e9b709a8 100644
--- a/libraries/libevhtp/libevhtp.SlackBuild
+++ b/libraries/libevhtp/libevhtp.SlackBuild
@@ -25,8 +25,8 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libevhtp
-VERSION=${VERSION:-1.2.10}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.2.11}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -71,6 +71,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# fix wrong version number
+sed -i "s/@PROJECT_VERSION@/${VERSION}/" evhtp.pc.in
+
mkdir -p build
cd build
cmake \
@@ -85,6 +88,14 @@ cd build
make install/strip DESTDIR=$PKG
cd ..
+if [ "$ARCH" = "x86_64" ]; then
+ (
+ cd $PKG
+ mv usr/lib/pkgconfig usr/lib${LIBDIRSUFFIX}
+ rm -rf usr/lib
+ )
+fi
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog LICENSE README.markdown $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/libraries/libevhtp/libevhtp.info b/libraries/libevhtp/libevhtp.info
index 92e0299cd1..1235034261 100644
--- a/libraries/libevhtp/libevhtp.info
+++ b/libraries/libevhtp/libevhtp.info
@@ -1,8 +1,8 @@
PRGNAM="libevhtp"
-VERSION="1.2.10"
+VERSION="1.2.11"
HOMEPAGE="https://github.com/ellzey/libevhtp/"
-DOWNLOAD="https://github.com/ellzey/libevhtp/archive/1.2.10.tar.gz"
-MD5SUM="e7261c7e34654f78047431d169b88806"
+DOWNLOAD="https://github.com/ellzey/libevhtp/archive/1.2.11.tar.gz"
+MD5SUM="d0af057bc23f15ae5959088b86ad6352"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""