mirror of
https://github.com/Ponce/slackbuilds
synced 2024-09-29 17:37:55 +02:00
libraries/grx: Updated for version 249.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
722f96ca61
commit
906015fffd
3 changed files with 14 additions and 12 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue