mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
development/medit: Updated for version 1.1.1.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
parent
691c9872e5
commit
db6a398d3a
3 changed files with 19 additions and 30 deletions
|
@ -1,10 +0,0 @@
|
||||||
--- medit-0.10.4/config-dirs.h.in 2010-04-29 03:43:23.000000000 -0300
|
|
||||||
+++ medit-0.10.4_patched/config-dirs.h.in 2010-06-27 22:04:27.000000000 -0300
|
|
||||||
@@ -6,6 +6,6 @@
|
|
||||||
#define MOO_DATA_DIR "@MOO_DATA_DIR_ABS@"
|
|
||||||
#define MOO_LIB_DIR "@MOO_LIB_DIR_ABS@"
|
|
||||||
#define MOO_LOCALE_DIR "@LOCALEDIR_ABS@"
|
|
||||||
-#define MOO_HELP_DIR "@MOO_HELP_DIR_ABS@"
|
|
||||||
+#define MOO_HELP_DIR "@MOO_HELP_DIR@"
|
|
||||||
|
|
||||||
#endif /* CONFIG_DIRS_H */
|
|
|
@ -2,7 +2,7 @@
|
||||||
#
|
#
|
||||||
# Slackware build script for medit
|
# Slackware build script for medit
|
||||||
#
|
#
|
||||||
# Copyright 2009-2010 Erik W. Hanson, Minneapolis, MN, USA
|
# Copyright 2009-2012 Erik W. Hanson, Minneapolis, MN, USA
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=medit
|
PRGNAM=medit
|
||||||
VERSION=${VERSION:-0.10.4}
|
VERSION=${VERSION:-1.1.1}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -65,27 +65,26 @@ cd $PRGNAM-$VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
chmod -R u+w,go+r-w,a-s .
|
chmod -R u+w,go+r-w,a-s .
|
||||||
|
|
||||||
patch -p1 < $CWD/help-path.patch
|
CFLAGS="$SLKCFLAGS" \
|
||||||
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
|
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--mandir=/usr/man \
|
||||||
|
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||||
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
mkdir -p build
|
|
||||||
cd build
|
|
||||||
cmake \
|
|
||||||
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
|
|
||||||
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
|
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
||||||
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
|
|
||||||
-DMANDIR=/usr/man \
|
|
||||||
-DMOO_DOC_DIR=/usr/doc/$PRGNAM-$VERSION \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release ..
|
|
||||||
make
|
make
|
||||||
make install/strip DESTDIR=$PKG
|
make install DESTDIR=$PKG
|
||||||
cd ..
|
|
||||||
|
|
||||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||||
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a AUTHORS COPYING* INSTALL LICENSE NEWS README THANKS \
|
cp -a AUTHORS COPYING INSTALL NEWS README THANKS \
|
||||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="medit"
|
PRGNAM="medit"
|
||||||
VERSION="0.10.4"
|
VERSION="1.1.1"
|
||||||
HOMEPAGE="http://mooedit.sourceforge.net/"
|
HOMEPAGE="http://mooedit.sourceforge.net/"
|
||||||
DOWNLOAD="http://downloads.sourceforge.net/mooedit/medit-0.10.4.tar.bz2"
|
DOWNLOAD="http://downloads.sourceforge.net/mooedit/medit-1.1.1.tar.bz2"
|
||||||
MD5SUM="5cfaab52303c0c8a7911ee3c39197136"
|
MD5SUM="9ea0d396a3bf3ee6ce220365bffb7358 "
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
|
|
Loading…
Reference in a new issue