aboutsummaryrefslogtreecommitdiff
path: root/libraries/libcoap/libcoap.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libcoap/libcoap.SlackBuild')
-rw-r--r--libraries/libcoap/libcoap.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/libraries/libcoap/libcoap.SlackBuild b/libraries/libcoap/libcoap.SlackBuild
index 1513fc1171ec1..a6da3c063f598 100644
--- a/libraries/libcoap/libcoap.SlackBuild
+++ b/libraries/libcoap/libcoap.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libcoap
-VERSION=${VERSION:-4.1.2}
+VERSION=${VERSION:-4.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -80,6 +80,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--disable-static \
--mandir=/usr/man \
+ --enable-examples \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
@@ -93,7 +94,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING ChangeLog INSTALL LICENSE.BSD LICENSE.GPL README.md TODO \
+cp -a BUILDING COPYING ChangeLog INSTALL LICENSE README.md TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild