aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/discount/discount.SlackBuild9
-rw-r--r--misc/discount/discount.info8
2 files changed, 7 insertions, 10 deletions
diff --git a/misc/discount/discount.SlackBuild b/misc/discount/discount.SlackBuild
index 76d43140601f3..c2549961ed751 100644
--- a/misc/discount/discount.SlackBuild
+++ b/misc/discount/discount.SlackBuild
@@ -22,7 +22,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=discount
-VERSION=${VERSION:-2.0.9}
+VERSION=${VERSION:-2.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,7 +61,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
-chown -R root:root .
+#chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
@@ -78,16 +78,13 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--confdir=/etc \
--mandir=/usr/man \
- --with-dl=Both \
- --with-id-anchor \
- --with-github-tags \
--enable-all-features \
--shared
make
mkdir -p $PKG/usr/{bin,lib${LIBDIRSUFFIX},include}
-make install.everything DESTDIR=$PKG
+make install.everything 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
diff --git a/misc/discount/discount.info b/misc/discount/discount.info
index 7d74c0352e82c..ed9ce661d4c59 100644
--- a/misc/discount/discount.info
+++ b/misc/discount/discount.info
@@ -1,10 +1,10 @@
PRGNAM="discount"
-VERSION="2.0.9"
+VERSION="2.1.2"
HOMEPAGE="http://www.pell.portland.or.us/~orc/Code/discount/"
-DOWNLOAD="http://www.pell.portland.or.us/~orc/Code/discount/discount-2.0.9.tar.bz2"
-MD5SUM="97b993f19c554640a7cc9b35bf452866"
+DOWNLOAD="http://www.pell.portland.or.us/~orc/Code/discount/discount-2.1.2.tar.bz2"
+MD5SUM="bd55cb2e975af81f6535e8c0d493ed15"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Antonio Hernández Blas"
EMAIL="hba.nihilismus@gmail.com"
-APPROVED="Niels Horn"
+APPROVED="Niels Horn,Erik Hanson"