misc/discount: Updated for version 2.1.2.

Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
Antonio Hernández Blas 2011-11-07 18:43:00 -06:00 committed by Robby Workman
parent 95eb3a89b9
commit 90c59aaa99
2 changed files with 7 additions and 10 deletions

View file

@ -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

View file

@ -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"