aboutsummaryrefslogtreecommitdiff
path: root/libraries/grx/grx.SlackBuild
diff options
context:
space:
mode:
authorDavid Melik <dchmelik@gmail.com>2015-02-19 16:05:33 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-19 16:05:33 +0700
commit906015fffddb118928cc4c3e704f4ad6fae2a0bf (patch)
treebf70eba955a88102a42665bd77d2a0179a82c54a /libraries/grx/grx.SlackBuild
parent722f96ca6141ed31a5aeb203c1d5184c05029f82 (diff)
libraries/grx: Updated for version 249.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/grx/grx.SlackBuild')
-rw-r--r--libraries/grx/grx.SlackBuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/libraries/grx/grx.SlackBuild b/libraries/grx/grx.SlackBuild
index 74a1c7fc1e61e..b7396ad5b4b61 100644
--- a/libraries/grx/grx.SlackBuild
+++ b/libraries/grx/grx.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=grx
-VERSION=${VERSION:-248}
+VERSION=${VERSION:-249}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,16 +65,17 @@ tar xvf $CWD/$PRGNAM$VERSION.tar.gz
cd $PRGNAM$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Lots of places with this, and probably only one matters, but I'm too lazy
# to figure out which one, so let's use the big hammer:
find . -type f -exec sed -i "s,-O2,$SLKCFLAGS,g" {} \;
./configure \
+ --prefix=/usr \
--target=console \
--target=X11 \
--target=sdlx \
@@ -86,10 +87,10 @@ find . -type f -exec sed -i "s,-O2,$SLKCFLAGS,g" {} \;
make
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX} $PKG/usr/include
-make install INSTALLDIR="$PKG/usr"
+make install INSTALLDIR="$PKG/usr" DESTDIR="$PKG"
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a copying* doc readme $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar copying* doc/* readme $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install