summaryrefslogtreecommitdiff
path: root/libraries/grx
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/grx')
-rw-r--r--libraries/grx/README5
-rw-r--r--libraries/grx/grx.SlackBuild15
-rw-r--r--libraries/grx/grx.info6
3 files changed, 14 insertions, 12 deletions
diff --git a/libraries/grx/README b/libraries/grx/README
index 10e8368da7..1770d4654e 100644
--- a/libraries/grx/README
+++ b/libraries/grx/README
@@ -1,2 +1,3 @@
-GRX is a 2D graphics C library originally written by Csaba Biegl
-for DJ Delorie's DOS port of the GCC compiler.
+GRX is a 2D graphics C library originaly written by Csaba Biegl for
+DJ Delorie's DOS port of the GCC compiler. Now it support a big range
+of platforms.
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
diff --git a/libraries/grx/grx.info b/libraries/grx/grx.info
index 85338b3795..424a76d36f 100644
--- a/libraries/grx/grx.info
+++ b/libraries/grx/grx.info
@@ -1,8 +1,8 @@
PRGNAM="grx"
-VERSION="248"
+VERSION="249"
HOMEPAGE="http://grx.gnu.de/"
-DOWNLOAD="http://grx.gnu.de/download/grx248.tar.gz"
-MD5SUM="c4fbeeef428a9dce6c3dc84ab8f574cb"
+DOWNLOAD="http://grx.gnu.de/download/grx249.tar.gz"
+MD5SUM="b159fd2cfbd6c77a18be5e8fe067dc78"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""