diff options
Diffstat (limited to 'network/yadifa/yadifa.SlackBuild')
-rw-r--r-- | network/yadifa/yadifa.SlackBuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/network/yadifa/yadifa.SlackBuild b/network/yadifa/yadifa.SlackBuild index 483f9709d4..717dea1e5e 100644 --- a/network/yadifa/yadifa.SlackBuild +++ b/network/yadifa/yadifa.SlackBuild @@ -23,11 +23,12 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=yadifa -VERSION=${VERSION:-2.3.9_8497} +VERSION=${VERSION:-2.4.0} +VSUFFIX=${VSUFFIX:-9809} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -SRCVERSION=$(echo $VERSION | tr _ -) +SRCVERSION=$(echo $VERSION-$VSUFFIX | tr _ -) if ! grep -q "^yadifa:" /etc/group; then echo "$0: Error: $PRGNAM group (yadifa) doesn't exist." @@ -116,6 +117,7 @@ make install DESTDIR=$PKG 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 +find $PKG/usr/man -type f -exec gzip -9 {} \+ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION install --mode=644 $CWD/$PRGNAM.SlackBuild $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |