aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorAntonio Hernández Blas <hba.nihilismus@gmail.com>2011-11-07 18:43:00 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-11-26 09:08:06 -0600
commit90c59aaa99d78fc65a37bb41b186008ee9db4bdd (patch)
treef39ee85a46688d5665c3295e381d22d0a558e062 /misc
parent95eb3a89b9e77849dfb9188f9ebf5b2fc0f1bd88 (diff)
misc/discount: Updated for version 2.1.2.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'misc')
-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 76d43140601f..c2549961ed75 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 7d74c0352e82..ed9ce661d4c5 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"