aboutsummaryrefslogtreecommitdiff
path: root/system/picocom/picocom.SlackBuild
diff options
context:
space:
mode:
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