summaryrefslogtreecommitdiff
path: root/libraries/grx/grx.SlackBuild
diff options
context:
space:
mode:
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 74a1c7fc1e..b7396ad5b4 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