summaryrefslogtreecommitdiff
path: root/desktop/wmphoto+/wmphoto+.SlackBuild
diff options
context:
space:
mode:
authorCezary M. Kruk <c.kruk@bigfoot.com>2012-12-11 14:51:08 +0100
committerdsomero <xgizzmo@slackbuilds.org>2012-12-11 16:23:08 -0500
commit6b3076b675b3e707dd7b07a0a80eede5e8f910dd (patch)
tree5dc0a8fe5b169bcbc17caeebe1f212c05f024a75 /desktop/wmphoto+/wmphoto+.SlackBuild
parent5f699e9d8f57703e288ceb26d8e0e9129301a373 (diff)
downloadslackbuilds-6b3076b675b3e707dd7b07a0a80eede5e8f910dd.tar.gz
desktop/wmphoto+: Updated for version 1.1.1, cleanups.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'desktop/wmphoto+/wmphoto+.SlackBuild')
-rw-r--r--desktop/wmphoto+/wmphoto+.SlackBuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/desktop/wmphoto+/wmphoto+.SlackBuild b/desktop/wmphoto+/wmphoto+.SlackBuild
index 1d4705dcbd..16f6129216 100644
--- a/desktop/wmphoto+/wmphoto+.SlackBuild
+++ b/desktop/wmphoto+/wmphoto+.SlackBuild
@@ -6,7 +6,7 @@
# Modified by the SlackBuilds.org project.
PRGNAM=wmphoto+
-VERSION=${VERSION:-1.1.0}
+VERSION=${VERSION:-1.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -53,18 +53,20 @@ find . \
-exec chmod 644 {} \;
cd wmphoto
- make PREFIX=/usr CCOPTIONS="$SLKCFLAGS"
- mkdir -p $PKG/usr/bin
- cp -a wmphoto $PKG/usr/bin
-cd ..
+ make \
+ FLAGS="$SLKCFLAGS"
+
+# Copy executable to the correct location
+mkdir -p $PKG/usr/bin
+cp -a wmphoto $PKG/usr/bin
+cd -
find $PKG | xargs 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 \
- COPYING ChangeLog README contrib sample* \
- $PKG/usr/doc/$PRGNAM-$VERSION
+ COPYING ChangeLog README contrib sample+1 sample+2 sample+3 sample+4 sample+5 $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install