From d150a5f3e462fa7fe194a805a4aa0076f4d03ab9 Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Sun, 16 Sep 2018 18:48:36 +0200 Subject: Add ports. --- documents/abiword/abiword.SlackBuild | 112 ++++++++++++++++++ documents/antiword/antiword-0.37-cmake.patch.xz | Bin 0 -> 956 bytes .../antiword/antiword-0.37-resourcedirs.patch.xz | Bin 0 -> 372 bytes documents/antiword/antiword.build | 54 +++++++++ documents/ed/ed-1.9-cflags.patch.xz | Bin 0 -> 252 bytes documents/ed/ed.build | 72 +++++++++++ documents/evince/evince-3.8.0-backenddir.patch.xz | Bin 0 -> 556 bytes documents/evince/evince.build | 92 +++++++++++++++ .../fbreader/fbreader-0.12.0-linuxgtk.patch.xz | Bin 0 -> 464 bytes .../fbreader/fbreader-0.12.0-notsilent.patch.xz | Bin 0 -> 364 bytes documents/fbreader/fbreader-0.12.0-paths.patch.xz | Bin 0 -> 1228 bytes documents/fbreader/fbreader-0.12.0-sqlite.patch.xz | Bin 0 -> 352 bytes documents/fbreader/fbreader.SlackBuild | 90 ++++++++++++++ .../hunspell/hunspell-1.3.2-pkgconfig.patch.xz | Bin 0 -> 324 bytes documents/hunspell/hunspell-1.3.2-xdgdir.patch.xz | Bin 0 -> 548 bytes documents/hunspell/hunspell.build | 64 ++++++++++ documents/itstool/itstool.build | 58 +++++++++ documents/medit/medit-1.2.0-desktopfile.patch.xz | Bin 0 -> 552 bytes documents/medit/medit-1.2.0-paths.patch.xz | Bin 0 -> 316 bytes documents/medit/medit.build | 62 ++++++++++ documents/ne/ne-2.5-makefile.patch.xz | Bin 0 -> 620 bytes documents/ne/ne.build | 66 +++++++++++ documents/pinfo/pinfo-0.6.8-heimdal.patch.bz2 | Bin 0 -> 486 bytes documents/pinfo/pinfo.SlackBuild | 86 ++++++++++++++ documents/texinfo/texinfo-5.1-dir.patch.xz | Bin 0 -> 5748 bytes documents/texinfo/texinfo.build | 99 ++++++++++++++++ documents/vim/vim-7.3-crontab.patch.xz | Bin 0 -> 404 bytes documents/vim/vim-7.3-logfiles.patch.xz | Bin 0 -> 384 bytes documents/vim/vim-7.3-nlpo.patch.xz | Bin 0 -> 40276 bytes documents/vim/vim-7.3-slackware.patch.xz | Bin 0 -> 472 bytes documents/vim/vim-7.3-syntax20130121.patch.xz | Bin 0 -> 155976 bytes documents/vim/vim-7.3-update773.patch.xz | Bin 0 -> 566740 bytes documents/vim/vim-7.3-useproperlocaledir.patch.xz | Bin 0 -> 1232 bytes documents/vim/vim-7.3-vimautoconf.patch.xz | Bin 0 -> 19180 bytes documents/vim/vim-7.3-vimrcdir.patch.xz | Bin 0 -> 364 bytes documents/vim/vim.build | 131 +++++++++++++++++++++ 36 files changed, 986 insertions(+) create mode 100755 documents/abiword/abiword.SlackBuild create mode 100644 documents/antiword/antiword-0.37-cmake.patch.xz create mode 100644 documents/antiword/antiword-0.37-resourcedirs.patch.xz create mode 100755 documents/antiword/antiword.build create mode 100644 documents/ed/ed-1.9-cflags.patch.xz create mode 100755 documents/ed/ed.build create mode 100644 documents/evince/evince-3.8.0-backenddir.patch.xz create mode 100755 documents/evince/evince.build create mode 100644 documents/fbreader/fbreader-0.12.0-linuxgtk.patch.xz create mode 100644 documents/fbreader/fbreader-0.12.0-notsilent.patch.xz create mode 100644 documents/fbreader/fbreader-0.12.0-paths.patch.xz create mode 100644 documents/fbreader/fbreader-0.12.0-sqlite.patch.xz create mode 100755 documents/fbreader/fbreader.SlackBuild create mode 100644 documents/hunspell/hunspell-1.3.2-pkgconfig.patch.xz create mode 100644 documents/hunspell/hunspell-1.3.2-xdgdir.patch.xz create mode 100755 documents/hunspell/hunspell.build create mode 100755 documents/itstool/itstool.build create mode 100644 documents/medit/medit-1.2.0-desktopfile.patch.xz create mode 100644 documents/medit/medit-1.2.0-paths.patch.xz create mode 100755 documents/medit/medit.build create mode 100644 documents/ne/ne-2.5-makefile.patch.xz create mode 100755 documents/ne/ne.build create mode 100644 documents/pinfo/pinfo-0.6.8-heimdal.patch.bz2 create mode 100755 documents/pinfo/pinfo.SlackBuild create mode 100644 documents/texinfo/texinfo-5.1-dir.patch.xz create mode 100755 documents/texinfo/texinfo.build create mode 100644 documents/vim/vim-7.3-crontab.patch.xz create mode 100644 documents/vim/vim-7.3-logfiles.patch.xz create mode 100644 documents/vim/vim-7.3-nlpo.patch.xz create mode 100644 documents/vim/vim-7.3-slackware.patch.xz create mode 100644 documents/vim/vim-7.3-syntax20130121.patch.xz create mode 100644 documents/vim/vim-7.3-update773.patch.xz create mode 100644 documents/vim/vim-7.3-useproperlocaledir.patch.xz create mode 100644 documents/vim/vim-7.3-vimautoconf.patch.xz create mode 100644 documents/vim/vim-7.3-vimrcdir.patch.xz create mode 100755 documents/vim/vim.build (limited to 'documents') diff --git a/documents/abiword/abiword.SlackBuild b/documents/abiword/abiword.SlackBuild new file mode 100755 index 0000000..81315e5 --- /dev/null +++ b/documents/abiword/abiword.SlackBuild @@ -0,0 +1,112 @@ +#!/bin/sh + +CWD=`pwd` +NAME=abiword +VERSION=2.8.6 +ARCH=i586 +BUILD=1 +PKGNAME=$NAME +PKGVER=$VERSION +BASEDIR=$PKGNAME-$PKGVER +ARCHIVE=$BASEDIR.tar.gz +REPOSITORY=http://www.abisource.com/downloads/abiword/${VERSION}/source +FLAGS="-O2 -march=pentium -mtune=pentium -fno-strength-reduce \ + -fomit-frame-pointer -ffast-math" +PKG=/tmp/package-$NAME + +rm -rf $PKG +mkdir -p $PKG + +# Obtain sources +if [ ! -e $ARCHIVE ]; then + if `wget "$REPOSITORY/$ARCHIVE"`; then + true + else + exit 1 + fi +fi + +# Compile +cd /tmp +tar zxvf $CWD/$ARCHIVE +cd $BASEDIR +CFLAGS=$FLAGS CXXFLAGS=$FLAGS ./configure \ + --build=${ARCH}-slackware-linux \ + --disable-dependency-tracking \ + --disable-static \ + --enable-static=no \ + --enable-shared=yes \ + --enable-shave=no \ + --enable-debug=no \ + --prefix=/usr \ + --mandir=/usr/man \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --with-gio \ + --with-boost=no \ + --enable-default-plugins \ + --enable-plugins="wml freetranslation latex eml gimp mif loadbindings babelfish openxml mswrite urldict presentation pdb collab google paint hancom xslfo opendocument openwriter t602 iscii wmf sdw gdict opml clarisworks kword pdf passepartout applix wikipedia hrtext s5 docbook" +make + +# missing: otf command goffice wordperfect psion aiksaurus mathview grammar wpg + +# Install +make install DESTDIR=$PKG +mkdir -p $PKG/install $PKG/usr/doc/$NAME-$VERSION +cat > $PKG/install/slack-desc < $PKG/install/slack-required <= 2.18.3-i486-1 +wv >= 1.2.4-i486-1 +fribidi >= 0.10.9-i486-1 +enchant >= 1.4.2-i486-1 +librsvg >= 2.26.0-i486-1 +libcroco >= 0.6.2-i486-1 +expat >= 2.0.1-i486-1 +EOF + +install -m 0644 -o 0 -g 0 AUTHORS \ + $PKG/usr/doc/$NAME-$VERSION + +mv $PKG/usr/share/icons \ + $PKG/usr/share/pixmaps + +rm -f \ + $PKG/usr/lib/*/*/*.la \ + $PKG/usr/lib/*/*/*.a \ + $PKG/usr/lib/*.la \ + $PKG/usr/lib/*.a + +strip --strip-unneeded \ + $PKG/usr/lib/*/*/*.so* \ + $PKG/usr/lib/*.so* || : + +strip \ + $PKG/usr/bin/* || : + +chown -R root.root $PKG + +# Make package +cd $PKG +cat install/slack-desc | grep "$NAME:" > /tmp/$NAME-$VERSION-$ARCH-$BUILD.txt +makepkg -l y -c n /tmp/$NAME-$VERSION-$ARCH-$BUILD.txz diff --git a/documents/antiword/antiword-0.37-cmake.patch.xz b/documents/antiword/antiword-0.37-cmake.patch.xz new file mode 100644 index 0000000..ed50180 Binary files /dev/null and b/documents/antiword/antiword-0.37-cmake.patch.xz differ diff --git a/documents/antiword/antiword-0.37-resourcedirs.patch.xz b/documents/antiword/antiword-0.37-resourcedirs.patch.xz new file mode 100644 index 0000000..502c5ec Binary files /dev/null and b/documents/antiword/antiword-0.37-resourcedirs.patch.xz differ diff --git a/documents/antiword/antiword.build b/documents/antiword/antiword.build new file mode 100755 index 0000000..31b129e --- /dev/null +++ b/documents/antiword/antiword.build @@ -0,0 +1,54 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=antiword +VERSION=0.37 +BUILD=1 + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=ed +VERSION=1.9 +BUILD=1 + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < /dev/null + fi + done +} + +# Install texinfo files + +install_info ed +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[gnu]}/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.lz +SRCCOPY[0]="GPL3" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[etc]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +} diff --git a/documents/evince/evince-3.8.0-backenddir.patch.xz b/documents/evince/evince-3.8.0-backenddir.patch.xz new file mode 100644 index 0000000..d680312 Binary files /dev/null and b/documents/evince/evince-3.8.0-backenddir.patch.xz differ diff --git a/documents/evince/evince.build b/documents/evince/evince.build new file mode 100755 index 0000000..0dd80de --- /dev/null +++ b/documents/evince/evince.build @@ -0,0 +1,92 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=evince +MAJOR=3.8 +VERSION=${MAJOR}.0 +BUILD=1 +DEPENDS=('gtk+ >= 3.8.0-1' 'gnome_keyring >= 3.8.0-1') +OPTDEPENDS=('poppler >= 0.22.2-1' 'djvulibre >= 3.5.25.3-1' 'libtiff >= 4.0.3-1' 'libspectre >= 0.2.7-1' 'libgxps >= 0.2.2-1') + +# Description + +cat > ${PKG}/install/slack-desc < ${PKG}/install/doinst.sh < $PKG/install/slack-desc < $PKG/install/slack-required <= 2.18.4-i486-1 +fribidi >= 0.10.9-i486-1 +liblinebreak >= 1.2-i486-1 +expat >= 2.0.1-i486-1 +zlib >= 1.2.3-i486-2 +bzip2 >= 1.0.5-i486-1 +curl >= 7.19.6-i486-1 +EOF + +rm -f \ + $PKG/usr/libexec/*/*/*.la \ + $PKG/usr/lib/*.la + +strip --strip-unneeded \ + $PKG/usr/lib/*.so* \ + $PKG/usr/libexec/*/*/*.so* || : + +strip \ + $PKG/usr/bin/* || : + +chown -R root.root $PKG + +# Make package +cd $PKG +cat install/slack-desc | grep "$NAME:" > /tmp/$NAME-$VERSION-$ARCH-$BUILD.txt +makepkg -l y -c n /tmp/$NAME-$VERSION-$ARCH-$BUILD.txz diff --git a/documents/hunspell/hunspell-1.3.2-pkgconfig.patch.xz b/documents/hunspell/hunspell-1.3.2-pkgconfig.patch.xz new file mode 100644 index 0000000..9627b55 Binary files /dev/null and b/documents/hunspell/hunspell-1.3.2-pkgconfig.patch.xz differ diff --git a/documents/hunspell/hunspell-1.3.2-xdgdir.patch.xz b/documents/hunspell/hunspell-1.3.2-xdgdir.patch.xz new file mode 100644 index 0000000..de09ea9 Binary files /dev/null and b/documents/hunspell/hunspell-1.3.2-xdgdir.patch.xz differ diff --git a/documents/hunspell/hunspell.build b/documents/hunspell/hunspell.build new file mode 100755 index 0000000..7f7c04d --- /dev/null +++ b/documents/hunspell/hunspell.build @@ -0,0 +1,64 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=hunspell +VERSION=1.3.2 +BUILD=2 + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=itstool +VERSION=1.2.0 +BUILD=2 +ARCH=noarch +DEPENDS=('python >= 2.7.4-1' 'libxml >= 2.9.0-1') + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=medit +VERSION=1.2.0 +BUILD=1 +DEPENDS=('gtk+ >= 2.24.17-1' 'expat >= 2.1.0-1' 'libxml >= 2.9.1-1') + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=ne +VERSION=2.5 +BUILD=1 +OPTIONS="noinfoz" + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < /dev/null + fi + done +} + +# Install texinfo files + +install_info ne +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://ne.dsi.unimi.it/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL3" + +build0() +{ +make ${JOBS} PREFIX="${SYS_DIR[usr]}" OPTS="${FLAGS}" +make install PREFIX="${SYS_DIR[usr]}" DESTDIR="${PKG}" +doc doc/default.* +changelog CHANGES +} diff --git a/documents/pinfo/pinfo-0.6.8-heimdal.patch.bz2 b/documents/pinfo/pinfo-0.6.8-heimdal.patch.bz2 new file mode 100644 index 0000000..68f7d47 Binary files /dev/null and b/documents/pinfo/pinfo-0.6.8-heimdal.patch.bz2 differ diff --git a/documents/pinfo/pinfo.SlackBuild b/documents/pinfo/pinfo.SlackBuild new file mode 100755 index 0000000..4708558 --- /dev/null +++ b/documents/pinfo/pinfo.SlackBuild @@ -0,0 +1,86 @@ +#!/bin/sh + +CWD=`pwd` +NAME=pinfo +VERSION=0.6.8 +ARCH=i586 +BUILD=1 +PKGNAME=$NAME +PKGVER=$VERSION +BASEDIR=$PKGNAME-$PKGVER +ARCHIVE=$BASEDIR.tar.gz +REPOSITORY=http://some/where +FLAGS="-O2 -march=pentium -mcpu=pentium -fno-strength-reduce \ + -fomit-frame-pointer -ffast-math" +PKG=/tmp/package-$NAME + +rm -rf $PKG +mkdir -p $PKG + +# Obtain sources +if [ ! -e $ARCHIVE ]; then + if `wget "$REPOSITORY/$ARCHIVE"`; then + true + else + exit 1 + fi +fi + +# Compile +cd /tmp +tar zxvf $CWD/$ARCHIVE +cd $BASEDIR +bzcat $CWD/$NAME-$VERSION-heimdal.patch.bz2 | patch -p1 -s +CFLAGS=$FLAGS CXXFLAGS=$FLAGS ./configure --prefix=/usr --sysconfdir=/etc +make + +# Install +mkdir -p $PKG/install $PKG/usr/doc/$NAME-$VERSION +cat > $PKG/install/slack-desc < /tmp/$NAME-$VERSION-$ARCH-$BUILD.txt +makepkg -l y -c n /tmp/$NAME-$VERSION-$ARCH-$BUILD.tgz diff --git a/documents/texinfo/texinfo-5.1-dir.patch.xz b/documents/texinfo/texinfo-5.1-dir.patch.xz new file mode 100644 index 0000000..eb2e62f Binary files /dev/null and b/documents/texinfo/texinfo-5.1-dir.patch.xz differ diff --git a/documents/texinfo/texinfo.build b/documents/texinfo/texinfo.build new file mode 100755 index 0000000..127e289 --- /dev/null +++ b/documents/texinfo/texinfo.build @@ -0,0 +1,99 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=texinfo +VERSION=5.1 +BUILD=1 +OPTDEPENDS=('perl >= 5.12.3-1') + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < /dev/null + fi + done +} + +# If no dir file exists, we'll assume it's a fresh installation and create one +# Otherwise, we'll throw out the new copy to preserve what's already installed + +if [ -e usr/info/dir ]; then + # If there is no topmost node, this dir file is broken, so replace it: + if ! grep -q "Node: Top" usr/info/dir ; then + mv usr/info/dir.new usr/info/dir + fi +else + mv usr/info/dir.new usr/info/dir +fi + +# Install texinfo files + +install_info info info-stnd texinfo +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[gnu]}/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="GPL3" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --disable-rpath \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +#FIXME: --with-external-libintl-perl +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +install.dat dir.new ${PKG}${SYS_DIR[info]} +#FIXME: Why do these file have no .info suffix? +( + cd ${PKG}${SYS_DIR[info]} + for file in texinfo*; do + mv "${file}" "${file}.info" + done +) +} diff --git a/documents/vim/vim-7.3-crontab.patch.xz b/documents/vim/vim-7.3-crontab.patch.xz new file mode 100644 index 0000000..b579b03 Binary files /dev/null and b/documents/vim/vim-7.3-crontab.patch.xz differ diff --git a/documents/vim/vim-7.3-logfiles.patch.xz b/documents/vim/vim-7.3-logfiles.patch.xz new file mode 100644 index 0000000..bed59fe Binary files /dev/null and b/documents/vim/vim-7.3-logfiles.patch.xz differ diff --git a/documents/vim/vim-7.3-nlpo.patch.xz b/documents/vim/vim-7.3-nlpo.patch.xz new file mode 100644 index 0000000..033cf43 Binary files /dev/null and b/documents/vim/vim-7.3-nlpo.patch.xz differ diff --git a/documents/vim/vim-7.3-slackware.patch.xz b/documents/vim/vim-7.3-slackware.patch.xz new file mode 100644 index 0000000..7e974bf Binary files /dev/null and b/documents/vim/vim-7.3-slackware.patch.xz differ diff --git a/documents/vim/vim-7.3-syntax20130121.patch.xz b/documents/vim/vim-7.3-syntax20130121.patch.xz new file mode 100644 index 0000000..6821b0b Binary files /dev/null and b/documents/vim/vim-7.3-syntax20130121.patch.xz differ diff --git a/documents/vim/vim-7.3-update773.patch.xz b/documents/vim/vim-7.3-update773.patch.xz new file mode 100644 index 0000000..ed5b1cd Binary files /dev/null and b/documents/vim/vim-7.3-update773.patch.xz differ diff --git a/documents/vim/vim-7.3-useproperlocaledir.patch.xz b/documents/vim/vim-7.3-useproperlocaledir.patch.xz new file mode 100644 index 0000000..1c24406 Binary files /dev/null and b/documents/vim/vim-7.3-useproperlocaledir.patch.xz differ diff --git a/documents/vim/vim-7.3-vimautoconf.patch.xz b/documents/vim/vim-7.3-vimautoconf.patch.xz new file mode 100644 index 0000000..e2d9177 Binary files /dev/null and b/documents/vim/vim-7.3-vimautoconf.patch.xz differ diff --git a/documents/vim/vim-7.3-vimrcdir.patch.xz b/documents/vim/vim-7.3-vimrcdir.patch.xz new file mode 100644 index 0000000..88fe67c Binary files /dev/null and b/documents/vim/vim-7.3-vimrcdir.patch.xz differ diff --git a/documents/vim/vim.build b/documents/vim/vim.build new file mode 100755 index 0000000..aea8467 --- /dev/null +++ b/documents/vim/vim.build @@ -0,0 +1,131 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=vim +MAJOR=7.3 +VERSION=${MAJOR}.773 +BUILD=5 + +# Description + +cat > ${PKG}/install/slack-desc < configure + +configure() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}/lib/vim" \ + --localedir="${SYS_DIR[share]}/locale" \ + --with-compiledby="${DISTRONAME}" \ + --with-features=huge \ + ${*} +} + +build0() +{ +configure \ + --disable-netbeans \ + --disable-pythoninterp \ + --disable-python3interp \ + --disable-rubyinterp \ + --disable-tclinterp \ + --disable-luainterp \ + --disable-perlinterp \ + --disable-gui \ + --with-x=no \ + --enable-gpm \ + --enable-acl \ + --enable-multibyte \ + --enable-cscope +make ${JOBS} VIMRCLOC="${SYS_DIR[etc]}" VIMRTLOC="${SYS_DIR[share]}/vim" VIMRUNTIMEDIR="${SYS_DIR[share]}/vim" +make install VIMRCLOC="${SYS_DIR[etc]}" VIMRTLOC="${SYS_DIR[share]}/vim" DESTDIR="${PKG}" +doc README.txt +install.dat doinst.sh ${PKG}/install +install.dir ${PKG}/etc +install.dat runtime/rgb.txt ${PKG}${SYS_DIR[share]}/vim +install.cfg runtime/vimrc_example.vim ${PKG}${SYS_DIR[etc]}/vimrc.new +( + cd ${PKG}${SYS_DIR[man]} + for file in $(find . -name evim.1); do + rm -f ${file} + done + for manpage in view rvim rview ex; do + for file in $(find . -type l -name ${manpage}.1); do + rm -f ${file} + echo ".so man1/vim.1" > ${file} + done + done +) +( + cd ${PKG}${SYS_DIR[share]}/vim + rm -rf \ + *vimrc_example.vim \ + */*cmake.vim \ + tools +) +} + +SRCNAME[1]=ctags +SRCVERS[1]=5.8 +SRCPACK[1]=${URL[sf]}/ctags/${SRCNAME[1]}/${SRCVERS[1]}/${SRCNAME[1]}-${SRCVERS[1]}.tar.gz +SRCCOPY[1]="GPL2" + +build1() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} +doc MAINTAINERS FAQ +changelog NEWS +# The ctags makefile is far too much of a broken mess to bother with patching it +install.dir ${PKG}${SYS_DIR[bin]} +install.bin ctags ${PKG}${SYS_DIR[bin]} +( cd ${PKG}${SYS_DIR[bin]} ; ln -sf ctags etags ) +install.dir ${PKG}${SYS_DIR[man]}/man1 +install.man ctags.1 ${PKG}${SYS_DIR[man]}/man1 +echo ".so man1/ctags.1" > ${PKG}${SYS_DIR[man]}/man1/etags.1 +} -- cgit v1.2.3-70-g09d2