diff options
author | Erik Hanson <erik@slackbuilds.org> | 2012-09-12 15:26:32 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2012-09-12 15:26:32 -0500 |
commit | db6a398d3af3188406a2c006c2141536b02a9a23 (patch) | |
tree | a6854134d9c12ccffe75aa6cf434c73d8c74eb00 /development/medit | |
parent | 691c9872e5f24d545d8d3e582ed743c2bb5210d3 (diff) |
development/medit: Updated for version 1.1.1.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'development/medit')
-rw-r--r-- | development/medit/help-path.patch | 10 | ||||
-rw-r--r-- | development/medit/medit.SlackBuild | 33 | ||||
-rw-r--r-- | development/medit/medit.info | 6 |
3 files changed, 19 insertions, 30 deletions
diff --git a/development/medit/help-path.patch b/development/medit/help-path.patch deleted file mode 100644 index 2685125a8de1c..0000000000000 --- a/development/medit/help-path.patch +++ /dev/null @@ -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 */ diff --git a/development/medit/medit.SlackBuild b/development/medit/medit.SlackBuild index ac3d5e473021a..a6da954d50737 100644 --- a/development/medit/medit.SlackBuild +++ b/development/medit/medit.SlackBuild @@ -2,7 +2,7 @@ # # 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. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=medit -VERSION=${VERSION:-0.10.4} +VERSION=${VERSION:-1.1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -65,27 +65,26 @@ cd $PRGNAM-$VERSION chown -R root:root . 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 install/strip DESTDIR=$PKG -cd .. +make +make install DESTDIR=$PKG 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 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 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/development/medit/medit.info b/development/medit/medit.info index 598aa1e86491d..d910338a07e79 100644 --- a/development/medit/medit.info +++ b/development/medit/medit.info @@ -1,8 +1,8 @@ PRGNAM="medit" -VERSION="0.10.4" +VERSION="1.1.1" HOMEPAGE="http://mooedit.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/mooedit/medit-0.10.4.tar.bz2" -MD5SUM="5cfaab52303c0c8a7911ee3c39197136" +DOWNLOAD="http://downloads.sourceforge.net/mooedit/medit-1.1.1.tar.bz2" +MD5SUM="9ea0d396a3bf3ee6ce220365bffb7358 " DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |