aboutsummaryrefslogtreecommitdiff
path: root/system/picocom/picocom.SlackBuild
diff options
context:
space:
mode:
authorWayne Cuddy <wcuddy@gmail.com>2018-08-20 14:10:53 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-08-20 14:11:07 +0100
commit581cca6888681b7ce0fb8f3fda44b57cbb5430ab (patch)
tree8cf249e6dc0dfa91111ca578f3e1de2f14cb393f /system/picocom/picocom.SlackBuild
parent4cbde1c8740238b767eb5101259f9b92868ae92e (diff)
system/picocom: Updated for version 3.1 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/picocom/picocom.SlackBuild')
-rw-r--r--system/picocom/picocom.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/system/picocom/picocom.SlackBuild b/system/picocom/picocom.SlackBuild
index 587ad104417f7..c244029193203 100644
--- a/system/picocom/picocom.SlackBuild
+++ b/system/picocom/picocom.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=picocom
-VERSION=${VERSION:-2.2}
+VERSION=${VERSION:-3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,15 +52,17 @@ 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 {} \;
-make
+CFLAGS="$SLKCFLAGS" make
mkdir -p $PKG/usr/bin
cp -v picocom $PKG/usr/bin/
+mkdir -p $PKG/usr/man/man1
+gzip -1c picocom.1 >$PKG/usr/man/man1/picocom.1.gz
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.md CONTRIBUTORS TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md CONTRIBUTORS TODO bsd_notes.txt LICENSE.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install