diff options
author | Danny Rawlins <romster@shortcircuit.net.au> | 2008-05-08 20:16:08 +1000 |
---|---|---|
committer | Danny Rawlins <romster@shortcircuit.net.au> | 2008-05-08 20:16:08 +1000 |
commit | f296f95f4f477c0e313d6aa057ac1533818cc9bd (patch) | |
tree | 442da839e480e3acb60bababa7600d28766e66f0 /gpm/Pkgfile | |
parent | 05a0b7a53e8357c15039c3ad4d1a3aaff888fe34 (diff) | |
download | contrib-f296f95f4f477c0e313d6aa057ac1533818cc9bd.tar.gz contrib-f296f95f4f477c0e313d6aa057ac1533818cc9bd.tar.xz |
gpm: 1.20.1 -> 1.20.3
Diffstat (limited to 'gpm/Pkgfile')
-rw-r--r-- | gpm/Pkgfile | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/gpm/Pkgfile b/gpm/Pkgfile index 748bb569b..423edacdd 100644 --- a/gpm/Pkgfile +++ b/gpm/Pkgfile @@ -4,38 +4,33 @@ # Packager: Han Boetes, han at mijncomputer dot nl name=gpm -version=1.20.1 +version=1.20.3 release=1 source=(http://unix.schottelius.org/gpm/archives/gpm-$version.tar.bz2 \ + gpm-$version-no-emacs-dir.patch \ gpm-$version-nodebug.patch \ gpm-$version-no-dumb-error-messages.patch \ - gpm-$version-liblow-segv.patch \ + gpm-$version-make-install-fixes.patch \ gpm.rc) build() { cd gpm-$version - sed -i \ - -e 's/^MAKEINFO.*/MAKEINFO = no/' \ - -e '/^EMACS.*/d' Makefile.include.in - - # emacs gpm support is included in emacs. xterm-mouse-mode - sed -i \ - -e 's/EMACS=.*/EMACS=:/' \ - -e 's/ELISP=.*/ELISP=/' configure - + patch -p 1 -i ../gpm-$version-no-emacs-dir.patch patch -p 1 -i ../gpm-$version-nodebug.patch patch -p 1 -i ../gpm-$version-no-dumb-error-messages.patch - patch -p 1 -i ../gpm-$version-liblow-segv.patch + patch -p 1 -i ../gpm-$version-make-install-fixes.patch - ./configure --prefix=/usr + ./configure \ + --prefix=/usr \ + --mandir=/usr/man - make -j 1 LDFLAGS='-lm' + make -j 1 make ROOT=$PKG install - install -D -m 0755 ../gpm.rc $PKG/etc/rc.d/gpm - chmod 0755 $PKG/usr/lib/libgpm.so.*.*.* - rm -r $PKG/usr/etc - rm -r $PKG/usr/info + install -m 0755 -D ../gpm.rc $PKG/etc/rc.d/gpm + rm -r $PKG/usr/share/info + rmdir $PKG/usr/etc + rmdir $PKG/usr/share } |