From d150a5f3e462fa7fe194a805a4aa0076f4d03ab9 Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Sun, 16 Sep 2018 18:48:36 +0200 Subject: Add ports. --- development/asciidoc/asciidoc.build | 63 +++++ .../automake-1.14.1-noautoconfcheck.patch.xz | Bin 0 -> 352 bytes development/autotools/autotools.build | 132 +++++++++ .../autotools/intltool-0.50.2-manfix.patch.xz | Bin 0 -> 5820 bytes development/binutils/binutils.SlackBuild | 111 ++++++++ development/bison/bison.build | 77 ++++++ .../bluefish/bluefish-2.2.6-datarootdir.patch.xz | Bin 0 -> 728 bytes .../bluefish/bluefish-2.2.6-gzipfix.patch.xz | Bin 0 -> 416 bytes development/bluefish/bluefish.build | 96 +++++++ development/cmake/cmake-2.8.11.2-paths.patch.xz | Bin 0 -> 688 bytes .../cmake/cmake-2.8.11.2-pkgconfigfuckup.patch.xz | Bin 0 -> 336 bytes development/cmake/cmake.build | 70 +++++ development/dev86/dev86.SlackBuild | 83 ++++++ development/dhex/dhex-0.68-makefile.patch.xz | Bin 0 -> 492 bytes development/dhex/dhex.build | 48 ++++ .../diffutils-3.3-sdiffnowaitpid.patch.xz | Bin 0 -> 392 bytes development/diffutils/diffutils.build | 99 +++++++ development/distcc/distcc-3.1-systemd.patch.xz | Bin 0 -> 560 bytes development/distcc/distcc.build | 103 +++++++ development/docbook/docbook.build | 300 +++++++++++++++++++++ development/docbook/xmlto-0.0.25-elinks.patch.xz | Bin 0 -> 268 bytes development/flex/flex-2.5.37-lex.patch.xz | Bin 0 -> 216 bytes development/flex/flex.build | 80 ++++++ development/gdb/gdb.build | 83 ++++++ .../gettext/gettext-0.18.2.1-pkglibdir.patch.xz | Bin 0 -> 1444 bytes development/gettext/gettext.build | 88 ++++++ development/git/git.build | 121 +++++++++ development/glade/glade.SlackBuild | 105 ++++++++ development/gperf/gperf.build | 76 ++++++ development/gtk_doc/gtk_doc.build | 60 +++++ ...-naming-utils-0.8.90-gtkonlyandupdates.patch.xz | Bin 0 -> 5480 bytes .../icon_naming_utils/icon_naming_utils.build | 59 ++++ .../indent/indent-2.2.11-decimalformat.patch.xz | Bin 0 -> 1184 bytes development/indent/indent-2.2.11-docfix.patch.xz | Bin 0 -> 488 bytes development/indent/indent-2.2.11-lcall.patch.xz | Bin 0 -> 380 bytes development/indent/indent-2.2.11-nohtml.patch.xz | Bin 0 -> 368 bytes development/indent/indent-2.2.11-segfault.patch.xz | Bin 0 -> 316 bytes development/indent/indent.build | 77 ++++++ .../ldc-20120620-bashcompletioninstall.patch.xz | Bin 0 -> 572 bytes development/ldc/ldc.build | 65 +++++ .../llvm/llvm-3.3-clangcindexerpath.patch.xz | Bin 0 -> 324 bytes development/llvm/llvm-3.3-clanginstall.patch.xz | Bin 0 -> 888 bytes development/llvm/llvm-3.3-docs.patch.xz | Bin 0 -> 676 bytes development/llvm/llvm-3.3-timestamp.patch.xz | Bin 0 -> 352 bytes development/llvm/llvm.build | 145 ++++++++++ .../llvm_lua/llvm_lua-1.3.1-libdir.patch.xz | Bin 0 -> 312 bytes development/llvm_lua/llvm_lua.build | 69 +++++ development/lua/lua-5.2.2-license.patch.xz | Bin 0 -> 1048 bytes development/lua/lua-5.2.2-pkgconfig.patch.xz | Bin 0 -> 416 bytes development/lua/lua-5.2.2-shared.patch.xz | Bin 0 -> 1228 bytes development/lua/lua.build | 62 +++++ development/m4/m4.build | 77 ++++++ development/make/make-3.82-bug30612.patch.xz | Bin 0 -> 1096 bytes development/make/make-3.82-bug30723.patch.xz | Bin 0 -> 352 bytes .../make/make-3.82-dontpruneintermediate.patch.xz | Bin 0 -> 732 bytes development/make/make-3.82-expensiveglob.patch.xz | Bin 0 -> 1084 bytes development/make/make-3.82-makeflags.patch.xz | Bin 0 -> 616 bytes development/make/make-3.82-sortblank.patch.xz | Bin 0 -> 308 bytes development/make/make.build | 75 ++++++ development/mariadb/mariadb-5.5.30-etcdir.patch.xz | Bin 0 -> 712 bytes .../mariadb/mariadb-5.5.30-service.patch.xz | Bin 0 -> 628 bytes .../mariadb/mariadb-5.5.30-sysconfdir.patch.xz | Bin 0 -> 452 bytes .../mariadb/mariadb-5.5.30-sysvinit.patch.xz | Bin 0 -> 1412 bytes .../mariadb/mariadb-5.5.30-tmpfilesd.patch.xz | Bin 0 -> 244 bytes development/mariadb/mariadb.build | 198 ++++++++++++++ development/patch/patch.build | 58 ++++ development/perl/perl-5.18.0-profiled.patch.xz | Bin 0 -> 468 bytes development/perl/perl.build | 126 +++++++++ development/perl_xmlparser/perl_xmlparser.build | 54 ++++ development/php/php-5.4.15-apachecfg.patch.xz | Bin 0 -> 416 bytes development/php/php-5.4.15-apachehack.patch.xz | Bin 0 -> 5728 bytes development/php/php-5.4.15-phpfpm.patch.xz | Bin 0 -> 752 bytes development/php/php-5.4.15-phpini.patch.xz | Bin 0 -> 1120 bytes development/php/php-5.4.15-sessionclean.patch.xz | Bin 0 -> 396 bytes development/php/php-5.4.15-tmpfilesd.patch.xz | Bin 0 -> 248 bytes development/php/php.build | 250 +++++++++++++++++ development/php_apc/APC-3.1.13-config.patch.xz | Bin 0 -> 328 bytes development/php_apc/php_apc.build | 76 ++++++ development/pkgconfig/pkgconfig.build | 65 +++++ .../python/Python-2.7.4-fixforusrmove.patch.xz | Bin 0 -> 692 bytes .../python/Python-2.7.4-nobinutilsdep.patch.xz | Bin 0 -> 408 bytes development/python/Python-2.7.4-norpath.patch.xz | Bin 0 -> 320 bytes .../python/Python-2.7.4-nostaticlibrary.patch.xz | Bin 0 -> 816 bytes .../python/Python-2.7.4-pydocnogui.patch.xz | Bin 0 -> 756 bytes .../Python-2.7.4-readlinesetpreinputhook.patch.xz | Bin 0 -> 380 bytes development/python/python.build | 114 ++++++++ development/python_m2crypto/python_m2crypto.build | 48 ++++ development/ruby/ruby-2.0.0-p195-gemrc.patch.xz | Bin 0 -> 340 bytes development/ruby/ruby-2.0.0-p195-profiled.patch.xz | Bin 0 -> 368 bytes .../ruby/ruby-2.0.0-p195-verbosemkmf.patch.xz | Bin 0 -> 488 bytes development/ruby/ruby.build | 99 +++++++ development/ruby_cairo/ruby_cairo.build | 57 ++++ development/ruby_gtk2/ruby_gtk2.build | 57 ++++ development/ruby_pkgconfig/ruby_pkgconfig.build | 50 ++++ development/scons/scons.build | 57 ++++ development/strace/strace.build | 58 ++++ development/subversion/subversion.build | 59 ++++ development/udis86/udis86.build | 60 +++++ .../valgrind/valgrind-3.6.0-glibcversion.patch.xz | Bin 0 -> 452 bytes development/valgrind/valgrind.SlackBuild | 98 +++++++ development/xfce_dev_tools/xfce_dev_tools.build | 58 ++++ development/yasm/yasm.build | 57 ++++ 102 files changed, 4123 insertions(+) create mode 100755 development/asciidoc/asciidoc.build create mode 100644 development/autotools/automake-1.14.1-noautoconfcheck.patch.xz create mode 100755 development/autotools/autotools.build create mode 100644 development/autotools/intltool-0.50.2-manfix.patch.xz create mode 100755 development/binutils/binutils.SlackBuild create mode 100755 development/bison/bison.build create mode 100644 development/bluefish/bluefish-2.2.6-datarootdir.patch.xz create mode 100644 development/bluefish/bluefish-2.2.6-gzipfix.patch.xz create mode 100755 development/bluefish/bluefish.build create mode 100644 development/cmake/cmake-2.8.11.2-paths.patch.xz create mode 100644 development/cmake/cmake-2.8.11.2-pkgconfigfuckup.patch.xz create mode 100755 development/cmake/cmake.build create mode 100755 development/dev86/dev86.SlackBuild create mode 100644 development/dhex/dhex-0.68-makefile.patch.xz create mode 100755 development/dhex/dhex.build create mode 100644 development/diffutils/diffutils-3.3-sdiffnowaitpid.patch.xz create mode 100755 development/diffutils/diffutils.build create mode 100644 development/distcc/distcc-3.1-systemd.patch.xz create mode 100755 development/distcc/distcc.build create mode 100755 development/docbook/docbook.build create mode 100644 development/docbook/xmlto-0.0.25-elinks.patch.xz create mode 100644 development/flex/flex-2.5.37-lex.patch.xz create mode 100755 development/flex/flex.build create mode 100755 development/gdb/gdb.build create mode 100644 development/gettext/gettext-0.18.2.1-pkglibdir.patch.xz create mode 100755 development/gettext/gettext.build create mode 100755 development/git/git.build create mode 100755 development/glade/glade.SlackBuild create mode 100755 development/gperf/gperf.build create mode 100755 development/gtk_doc/gtk_doc.build create mode 100644 development/icon_naming_utils/icon-naming-utils-0.8.90-gtkonlyandupdates.patch.xz create mode 100755 development/icon_naming_utils/icon_naming_utils.build create mode 100644 development/indent/indent-2.2.11-decimalformat.patch.xz create mode 100644 development/indent/indent-2.2.11-docfix.patch.xz create mode 100644 development/indent/indent-2.2.11-lcall.patch.xz create mode 100644 development/indent/indent-2.2.11-nohtml.patch.xz create mode 100644 development/indent/indent-2.2.11-segfault.patch.xz create mode 100755 development/indent/indent.build create mode 100644 development/ldc/ldc-20120620-bashcompletioninstall.patch.xz create mode 100755 development/ldc/ldc.build create mode 100644 development/llvm/llvm-3.3-clangcindexerpath.patch.xz create mode 100644 development/llvm/llvm-3.3-clanginstall.patch.xz create mode 100644 development/llvm/llvm-3.3-docs.patch.xz create mode 100644 development/llvm/llvm-3.3-timestamp.patch.xz create mode 100755 development/llvm/llvm.build create mode 100644 development/llvm_lua/llvm_lua-1.3.1-libdir.patch.xz create mode 100755 development/llvm_lua/llvm_lua.build create mode 100644 development/lua/lua-5.2.2-license.patch.xz create mode 100644 development/lua/lua-5.2.2-pkgconfig.patch.xz create mode 100644 development/lua/lua-5.2.2-shared.patch.xz create mode 100755 development/lua/lua.build create mode 100755 development/m4/m4.build create mode 100644 development/make/make-3.82-bug30612.patch.xz create mode 100644 development/make/make-3.82-bug30723.patch.xz create mode 100644 development/make/make-3.82-dontpruneintermediate.patch.xz create mode 100644 development/make/make-3.82-expensiveglob.patch.xz create mode 100644 development/make/make-3.82-makeflags.patch.xz create mode 100644 development/make/make-3.82-sortblank.patch.xz create mode 100755 development/make/make.build create mode 100644 development/mariadb/mariadb-5.5.30-etcdir.patch.xz create mode 100644 development/mariadb/mariadb-5.5.30-service.patch.xz create mode 100644 development/mariadb/mariadb-5.5.30-sysconfdir.patch.xz create mode 100644 development/mariadb/mariadb-5.5.30-sysvinit.patch.xz create mode 100644 development/mariadb/mariadb-5.5.30-tmpfilesd.patch.xz create mode 100755 development/mariadb/mariadb.build create mode 100755 development/patch/patch.build create mode 100644 development/perl/perl-5.18.0-profiled.patch.xz create mode 100755 development/perl/perl.build create mode 100755 development/perl_xmlparser/perl_xmlparser.build create mode 100644 development/php/php-5.4.15-apachecfg.patch.xz create mode 100644 development/php/php-5.4.15-apachehack.patch.xz create mode 100644 development/php/php-5.4.15-phpfpm.patch.xz create mode 100644 development/php/php-5.4.15-phpini.patch.xz create mode 100644 development/php/php-5.4.15-sessionclean.patch.xz create mode 100644 development/php/php-5.4.15-tmpfilesd.patch.xz create mode 100755 development/php/php.build create mode 100644 development/php_apc/APC-3.1.13-config.patch.xz create mode 100755 development/php_apc/php_apc.build create mode 100755 development/pkgconfig/pkgconfig.build create mode 100644 development/python/Python-2.7.4-fixforusrmove.patch.xz create mode 100644 development/python/Python-2.7.4-nobinutilsdep.patch.xz create mode 100644 development/python/Python-2.7.4-norpath.patch.xz create mode 100644 development/python/Python-2.7.4-nostaticlibrary.patch.xz create mode 100644 development/python/Python-2.7.4-pydocnogui.patch.xz create mode 100644 development/python/Python-2.7.4-readlinesetpreinputhook.patch.xz create mode 100755 development/python/python.build create mode 100755 development/python_m2crypto/python_m2crypto.build create mode 100644 development/ruby/ruby-2.0.0-p195-gemrc.patch.xz create mode 100644 development/ruby/ruby-2.0.0-p195-profiled.patch.xz create mode 100644 development/ruby/ruby-2.0.0-p195-verbosemkmf.patch.xz create mode 100755 development/ruby/ruby.build create mode 100755 development/ruby_cairo/ruby_cairo.build create mode 100755 development/ruby_gtk2/ruby_gtk2.build create mode 100755 development/ruby_pkgconfig/ruby_pkgconfig.build create mode 100755 development/scons/scons.build create mode 100755 development/strace/strace.build create mode 100755 development/subversion/subversion.build create mode 100755 development/udis86/udis86.build create mode 100644 development/valgrind/valgrind-3.6.0-glibcversion.patch.xz create mode 100755 development/valgrind/valgrind.SlackBuild create mode 100755 development/xfce_dev_tools/xfce_dev_tools.build create mode 100755 development/yasm/yasm.build (limited to 'development') diff --git a/development/asciidoc/asciidoc.build b/development/asciidoc/asciidoc.build new file mode 100755 index 0000000..a421048 --- /dev/null +++ b/development/asciidoc/asciidoc.build @@ -0,0 +1,63 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=asciidoc +VERSION=8.6.8 +BUILD=2 +ARCH=noarch +DEPENDS=('python >= 2.7.4-1' 'docbook >= 5.0-1') + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=autotools +VERSION=2.69 +BUILD=7 +DEPENDS=('perl_xmlparser >= 2.41-1' 'm4 >= 1.4.16-1') + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < /dev/null + fi + done +} + +# Install texinfo files + +install_info autoconf automake automake-history libtool +EOF + +# Sources + +configure() +{ +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]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + ${*} +} + +SRCNAME[0]=autoconf +SRCVERS[0]=2.69 +SRCPACK[0]=${URL[gnu]}/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="GPL2 GPL3" + +build0() +{ +configure +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog NEWS +license COPYING.EXCEPTION COPYING.EXCEPTION +# This is already in a few other packages +rm -f ${PKG}${SYS_DIR[info]}/standards.info* +} + +SRCNAME[1]=automake +SRCVERS[1]=1.14.1 +SRCPACK[1]=${URL[gnu]}/${SRCNAME[1]}/${SRCNAME[1]}-${SRCVERS[1]}.tar.xz +SRCCOPY[1]="GPL2" + +build1() +{ +configure +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog NEWS +} + +SRCNAME[2]=libtool +SRCVERS[2]=2.4.2 +SRCPACK[2]=${URL[gnu]}/${SRCNAME[2]}/${SRCNAME[2]}-${SRCVERS[2]}.tar.xz +SRCCOPY[2]="GPL2" + +build2() +{ +configure \ + --disable-dependency-tracking \ + --enable-shared=yes \ + --enable-static=no \ + --enable-ltdl-install +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog NEWS +rm -rf ${PKG}${SYS_DIR[doc]}/libtool +} + +SRCNAME[3]=intltool +INTLTOOLM=0.50 +SRCVERS[3]=${INTLTOOLM}.2 +SRCPACK[3]=http://edge.launchpad.net/intltool/trunk/${SRCVERS[3]}/+download/${SRCNAME[3]}-${SRCVERS[3]}.tar.gz +SRCCOPY[3]="GPL2" + +build3() +{ +configure +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog ChangeLog +} diff --git a/development/autotools/intltool-0.50.2-manfix.patch.xz b/development/autotools/intltool-0.50.2-manfix.patch.xz new file mode 100644 index 0000000..255e885 Binary files /dev/null and b/development/autotools/intltool-0.50.2-manfix.patch.xz differ diff --git a/development/binutils/binutils.SlackBuild b/development/binutils/binutils.SlackBuild new file mode 100755 index 0000000..7ad23ed --- /dev/null +++ b/development/binutils/binutils.SlackBuild @@ -0,0 +1,111 @@ +#!/bin/sh + +CWD=`pwd` +NAME=binutils +VERSION=2.18.50 +ARCH=i486 +BUILD=1 +PKGNAME=$NAME +PKGVER=$VERSION +BASEDIR=$PKGNAME-$PKGVER +ARCHIVE=$BASEDIR.tar.bz2 +REPOSITORY=ftp://sourceware.org/pub/binutils/snapshots +FLAGS="-O2 -march=i486 -mtune=i486 -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 jxvf $CWD/$ARCHIVE +cd $NAME-$VERSION +CFLAGS=$FLAGS CXXFLAGS=$FLAGS ./configure \ + --prefix=/usr \ + --mandir=/usr/man \ + --enable-shared \ + --enable-targets=$ARCH-slackware-linux \ + --enable-64-bit-bfd \ + --build=$ARCH-slackware-linux +make + +# Install +make install DESTDIR=$PKG +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/development/bison/bison.build b/development/bison/bison.build new file mode 100755 index 0000000..4f07cf2 --- /dev/null +++ b/development/bison/bison.build @@ -0,0 +1,77 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=bison +VERSION=3.0 +BUILD=1 + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < /dev/null + fi + done +} + +# Install texinfo files + +install_info bison +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]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog NEWS +} diff --git a/development/bluefish/bluefish-2.2.6-datarootdir.patch.xz b/development/bluefish/bluefish-2.2.6-datarootdir.patch.xz new file mode 100644 index 0000000..ea12617 Binary files /dev/null and b/development/bluefish/bluefish-2.2.6-datarootdir.patch.xz differ diff --git a/development/bluefish/bluefish-2.2.6-gzipfix.patch.xz b/development/bluefish/bluefish-2.2.6-gzipfix.patch.xz new file mode 100644 index 0000000..24bd103 Binary files /dev/null and b/development/bluefish/bluefish-2.2.6-gzipfix.patch.xz differ diff --git a/development/bluefish/bluefish.build b/development/bluefish/bluefish.build new file mode 100755 index 0000000..ed86a56 --- /dev/null +++ b/development/bluefish/bluefish.build @@ -0,0 +1,96 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=bluefish +VERSION=2.2.6 +BUILD=1 +DEPENDS=('gtk+ >= 3.8.0-1' 'enchant >= 1.6.0-1') +OPTDEPENDS=('gucharmap >= 3.8.0-1' 'python >= 2.7.4-1') + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < /dev/null +fi +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://www.bennewitz.com/bluefish/stable/source/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="GPL3" + +build0() +{ +sed -i 's|/usr/bin/env python|/usr/bin/env python2|g' \ + $(find . -name "*.py") data/{jsbeautify,lorem-ipsum-generator} +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --enable-static=no \ + --enable-shared=yes \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}/plugins" \ + --localstatedir="${SYS_DIR[var]}" \ + --datadir="${SYS_DIR[share]}/application-data" \ + --disable-update-databases \ + --disable-xml-catalog-update \ + --enable-spell-check +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog ChangeLog +rm -rf ${PKG}${SYS_DIR[doc]}/bluefish +} diff --git a/development/cmake/cmake-2.8.11.2-paths.patch.xz b/development/cmake/cmake-2.8.11.2-paths.patch.xz new file mode 100644 index 0000000..caa625b Binary files /dev/null and b/development/cmake/cmake-2.8.11.2-paths.patch.xz differ diff --git a/development/cmake/cmake-2.8.11.2-pkgconfigfuckup.patch.xz b/development/cmake/cmake-2.8.11.2-pkgconfigfuckup.patch.xz new file mode 100644 index 0000000..954680f Binary files /dev/null and b/development/cmake/cmake-2.8.11.2-pkgconfigfuckup.patch.xz differ diff --git a/development/cmake/cmake.build b/development/cmake/cmake.build new file mode 100755 index 0000000..8cec095 --- /dev/null +++ b/development/cmake/cmake.build @@ -0,0 +1,70 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=cmake +MAJOR=2.8 +VERSION=${MAJOR}.10.2 +BUILD=2 +DEPENDS=('curl >= 7.29.0-1' 'expat >= 2.1.0-1') + +# Description + +cat > ${PKG}/install/slack-desc < $PKG/install/slack-desc < /tmp/$NAME-$VERSION-$ARCH-$BUILD.txt +makepkg -l y -c n /tmp/$NAME-$VERSION-$ARCH-$BUILD.tgz diff --git a/development/dhex/dhex-0.68-makefile.patch.xz b/development/dhex/dhex-0.68-makefile.patch.xz new file mode 100644 index 0000000..8a14c4d Binary files /dev/null and b/development/dhex/dhex-0.68-makefile.patch.xz differ diff --git a/development/dhex/dhex.build b/development/dhex/dhex.build new file mode 100755 index 0000000..018f653 --- /dev/null +++ b/development/dhex/dhex.build @@ -0,0 +1,48 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=dhex +VERSION=0.68 +BUILD=2 + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=diffutils +VERSION=3.3 +BUILD=3 + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < /dev/null + fi + done +} + +# Install texinfo files + +install_info diffutils +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]}" +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog NEWS +} + +SRCNAME[1]=diffstat +SRCVERS[1]=1.59 +SRCPACK[1]=ftp://invisible-island.net/diffstat/${SRCNAME[1]}-${SRCVERS[1]}.tgz +SRCCOPY[1]="MIT" + +build1() +{ +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]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +changelog CHANGES +license COPYING +} diff --git a/development/distcc/distcc-3.1-systemd.patch.xz b/development/distcc/distcc-3.1-systemd.patch.xz new file mode 100644 index 0000000..e5a335f Binary files /dev/null and b/development/distcc/distcc-3.1-systemd.patch.xz differ diff --git a/development/distcc/distcc.build b/development/distcc/distcc.build new file mode 100755 index 0000000..9c9542a --- /dev/null +++ b/development/distcc/distcc.build @@ -0,0 +1,103 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=distcc +VERSION=3.1 +BUILD=1 +#DEPENDS=('avahi >= 0.6.31-1') +OPTDEPENDS=('gtk+ >= 2.24.14-1') + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < + +source /usr/src/ports/Build/build.sh + +NAME=docbook +XSLVER=1.78.0 +VERSION=5.0 +BUILD=2 +DEPENDS=('libxml >= 2.9.0-1' 'libxslt >= 1.1.28-1') + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < etc/xml/catalog +fi + +CATADD="/usr/bin/xmlcatalog --noout --add" + +# docbook + +\$CATADD "delegatePublic" "-//OASIS//ENTITIES DocBook XML" \ + "file:///etc/xml/docbook" etc/xml/catalog +\$CATADD "delegatePublic" "-//OASIS//DTD DocBook XML" \ + "file:///etc/xml/docbook" etc/xml/catalog +\$CATADD "delegateSystem" "http://www.oasis-open.org/docbook/" \ + "file:///etc/xml/docbook" etc/xml/catalog +\$CATADD "delegateURI" "http://www.oasis-open.org/docbook/" \ + "file:///etc/xml/docbook" etc/xml/catalog + +# docbook-xsl + +\$CATADD "rewriteSystem" "http://docbook.sourceforge.net/release/xsl/${XSLVER}" \ + "/usr/share/xml/docbook/stylesheet" etc/xml/catalog +\$CATADD "rewriteURI" "http://docbook.sourceforge.net/release/xsl/${XSLVER}" \ + "/usr/share/xml/docbook/stylesheet" etc/xml/catalog +\$CATADD "rewriteSystem" "http://docbook.sourceforge.net/release/xsl/current" \ + "/usr/share/xml/docbook/stylesheet" etc/xml/catalog +\$CATADD "rewriteURI" "http://docbook.sourceforge.net/release/xsl/current" \ + "/usr/share/xml/docbook/stylesheet" etc/xml/catalog +fi +EOF + +do_install() +{ +install.dir ${PKG}${SYS_DIR[share]}/xml/docbook/xml-dtd-${1}/ent +install.dat docbook.cat *.dtd *.mod ${PKG}${SYS_DIR[share]}/xml/docbook/xml-dtd-${1} +install.dat ent/*.ent ${PKG}${SYS_DIR[share]}/xml/docbook/xml-dtd-${1}/ent +} + +loc() +{ + if [ ! -z "${2}" ]; then + echo "file:///${SYS_DIR[share]}/xml/docbook/xml-dtd-${1}/${2}" + else + echo "file:///${SYS_DIR[share]}/xml/docbook/xml-dtd-${1}" + fi +} + +catadd() +{ +if [ ! -e ${PKG}${SYS_DIR[etc]}/xml/docbook ]; then + install.dir ${PKG}${SYS_DIR[etc]}/xml + xmlcatalog --noout --create ${PKG}${SYS_DIR[etc]}/xml/docbook +fi +echo "xmlcatalog --noout --add ${1} ${2} ${3} ${PKG}${SYS_DIR[etc]}/xml/docbook" +xmlcatalog --noout --add "${1}" "${2}" "${3}" "${PKG}${SYS_DIR[etc]}/xml/docbook" +} + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://www.docbook.org/xml/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.zip +SRCCOPY[0]="MIT" + +build0() +{ +changelog ChangeLog +install.dir ${PKG}${SYS_DIR[etc]}/xml +install.dir ${PKG}${SYS_DIR[share]}/xml/docbook/xml-dtd-${SRCVERS[0]}/{dtd,rng,sch,xsd} +install.dat docbook.nvdl ${PKG}${SYS_DIR[share]}/xml/docbook/xml-dtd-${SRCVERS[0]} +install.dat dtd/* ${PKG}${SYS_DIR[share]}/xml/docbook/xml-dtd-${SRCVERS[0]}/dtd +install.dat rng/* ${PKG}${SYS_DIR[share]}/xml/docbook/xml-dtd-${SRCVERS[0]}/rng +install.dat sch/* ${PKG}${SYS_DIR[share]}/xml/docbook/xml-dtd-${SRCVERS[0]}/sch +install.dat xsd/* ${PKG}${SYS_DIR[share]}/xml/docbook/xml-dtd-${SRCVERS[0]}/xsd +install.dir ${PKG}${SYS_DIR[share]}/xml/docbook/stylesheet/docbook5 +install.dat tools/* ${PKG}${SYS_DIR[share]}/xml/docbook/stylesheet/docbook5 +catadd "public" "-//OASIS//DTD DocBook XML 5.0//EN" "$(loc '5.0' 'dtd/docbook.dtd')" +catadd "system" "http://www.oasis-open.org/docbook/xml/5.0/dtd/docbook.dtd" "$(loc '5.0' 'dtd/docbook.dtd')" +catadd "system" "http://docbook.org/xml/5.0/dtd/docbook.dtd" "$(loc '5.0' 'dtd/docbook.dtd')" +catadd "uri" "http://www.oasis-open.org/docbook/xml/5.0/rng/docbook.rng" "$(loc '5.0' 'rng/docbook.rng')" +catadd "uri" "http://docbook.org/xml/5.0/rng/docbook.rng" "$(loc '5.0' 'rng/docbook.rng')" +catadd "uri" "http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng" "$(loc '5.0' 'rng/docbookxi.rng')" +catadd "uri" "http://docbook.org/xml/5.0/rng/docbookxi.rng" "5.0" "rng/docbookxi.rng" +catadd "uri" "http://www.oasis-open.org/docbook/xml/5.0/rng/docbook.rnc" "$(loc '5.0' 'rng/docbook.rnc')" +catadd "uri" "http://docbook.org/xml/5.0/rng/docbook.rnc" "$(loc '5.0' 'rng/docbook.rnc')" +catadd "uri" "http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rnc" "$(loc '5.0' 'rng/docbooxi.rnc')" +catadd "uri" "http://docbook.org/xml/5.0/rng/docbookxi.rnc" "$(loc '5.0' 'docbookxi.rnc')" +catadd "uri" "http://www.oasis-open.org/docbook/xml/5.0/xsd/docbook.xsd" "$(loc '5.0' 'xsd/docbook.xsd')" +catadd "uri" "http://docbook.org/xml/5.0/xsd/docbook.xsd" "$(loc '5.0' 'xsd/docbook.xsd')" +catadd "uri" "http://www.oasis-open.org/docbook/xml/5.0/xsd/docbookxi.xsd" "$(loc '5.0' 'xsd/docbookxi.xsd')" +catadd "uri" "http://docbook.org/xml/5.0/xsd/docbookxi.xsd" "$(loc '5.0' 'xsd/docbookxi.xsd')" +catadd "uri" "http://www.oasis-open.org/docbook/xml/5.0/xsd/xi.xsd" "$(loc '5.0' 'xsd/xi.xsd')" +catadd "uri" "http://docbook.org/xml/5.0/xsd/xi.xsd" "$(loc '5.0' 'xsd/xi.xsd')" +catadd "uri" "http://www.oasis-open.org/docbook/xml/5.0/xsd/xlink.xsd" "$(loc '5.0' 'xsd/xlink.xsd')" +catadd "uri" "http://docbook.org/xml/5.0/xsd/xlink.xsd" "$(loc '5.0' 'xsd/xlink.xsd')" +catadd "uri" "http://www.oasis-open.org/docbook/xml/5.0/xsd/xml.xsd" "$(loc '5.0' 'xsd/xml.xsd')" +catadd "uri" "http://docbook.org/xml/5.0/xsd/xml.xsd" "$(loc '5.0' 'xsd/xml.xsd')" +catadd "uri" "http://www.oasis-open.org/docbook/xml/5.0/sch/docbook.sch" "$(loc '5.0' 'sch/docbook.sch')" +catadd "uri" "http://docbook.org/xml/5.0/sch/docbook.sch" "$(loc '5.0' 'sch/docbook.sch')" +catadd "uri" "http://www.oasis-open.org/docbook/xml/5.0/docbook.nvdl" "$(loc '5.0' 'docbook.nvdl')" +catadd "uri" "http://docbook.org/xml/5.0/docbook.nvdl" "$(loc '5.0' 'docbook.nvdl')" +} + +SRCNAME[1]=${NAME}-xml +SRCVERS[1]=4.5 +SRCPACK[1]=http://www.docbook.org/xml/${SRCVERS[1]}/${SRCNAME[1]}-${SRCVERS[1]}.zip +SRCCOPY[1]="MIT" +SRCOPTS[1]="nosrcroot" + +build1() +{ +doc ChangeLog +do_install ${SRCVERS[1]} +catadd "public" "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" +catadd "public" "-//OASIS//DTD DocBook XML CALS Table Model V4.5//EN" "$(loc '4.5' 'calstblx.dtd')" +catadd "public" "-//OASIS//DTD XML Exchange Table Model 19990315//EN" "$(loc '4.5' 'soextblx.dtd')" +catadd "public" "-//OASIS//ELEMENTS DocBook XML Information Pool V4.5//EN" "$(loc '4.5' 'dbpoolx.mod')" +catadd "public" "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.5//EN" "$(loc '4.5' 'dbhierx.mod')" +catadd "public" "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN" "$(loc '4.5' 'htmltblx.mod')" +catadd "public" "-//OASIS//ENTITIES DocBook XML Notations V4.5//EN" "$(loc '4.5' 'dbnotnx.mod')" +catadd "public" "-//OASIS//ENTITIES DocBook XML Character Entities V4.5//EN" "$(loc '4.5' 'dbcentx.mod')" +catadd "public" "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.5//EN" "$(loc '4.5' 'dbgenent.mod')" +catadd "rewriteSystem" "http://www.oasis-open.org/docbook/xml/4.5" "$(loc '4.5')" +catadd "rewriteURI" "http://www.oasis-open.org/docbook/xml/4.5" "$(loc '4.5')" +} + +SRCNAME[2]=${NAME}-xml +SRCVERS[2]=4.4 +SRCPACK[2]=http://www.docbook.org/xml/${SRCVERS[2]}/${SRCNAME[2]}-${SRCVERS[2]}.zip +SRCCOPY[2]="MIT" +SRCOPTS[2]="nosrcroot" + +build2() +{ +doc ChangeLog +do_install ${SRCVERS[2]} +catadd "public" "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" +catadd "public" "-//OASIS//DTD DocBook CALS Table Model V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/calstblx.dtd" +catadd "public" "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/htmltblx.mod" +catadd "public" "-//OASIS//DTD XML Exchange Table Model 19990315//EN" "http://www.oasis-open.org/docbook/xml/4.4/soextblx.dtd" +catadd "public" "-//OASIS//ELEMENTS DocBook Information Pool V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/dbpoolx.mod" +catadd "public" "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/dbhierx.mod" +catadd "public" "-//OASIS//ENTITIES DocBook Additional General Entities V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/dbgenent.mod" +catadd "public" "-//OASIS//ENTITIES DocBook Notations V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/dbnotnx.mod" +catadd "public" "-//OASIS//ENTITIES DocBook Character Entities V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/dbcentx.mod" +catadd "rewriteSystem" "http://www.oasis-open.org/docbook/xml/4.4" "$(loc '4.4')" +catadd "rewriteURI" "http://www.oasis-open.org/docbook/xml/4.4" "$(loc '4.4')" +} + +SRCNAME[3]=${NAME}-xml +SRCVERS[3]=4.3 +SRCPACK[3]=http://www.docbook.org/xml/${SRCVERS[3]}/${SRCNAME[3]}-${SRCVERS[3]}.zip +SRCCOPY[3]="MIT" +SRCOPTS[3]="nosrcroot" + +build3() +{ +doc ChangeLog +do_install ${SRCVERS[3]} +catadd "public" "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" +catadd "public" "-//OASIS//DTD DocBook CALS Table Model V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/calstblx.dtd" +catadd "public" "-//OASIS//DTD XML Exchange Table Model 19990315//EN" "http://www.oasis-open.org/docbook/xml/4.3/soextblx.dtd" +catadd "public" "-//OASIS//ELEMENTS DocBook Information Pool V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/dbpoolx.mod" +catadd "public" "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/dbhierx.mod" +catadd "public" "-//OASIS//ENTITIES DocBook Additional General Entities V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/dbgenent.mod" +catadd "public" "-//OASIS//ENTITIES DocBook Notations V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/dbnotnx.mod" +catadd "public" "-//OASIS//ENTITIES DocBook Character Entities V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/dbcentx.mod" +catadd "rewriteSystem" "http://www.oasis-open.org/docbook/xml/4.3" "$(loc '4.3')" +catadd "rewriteURI" "http://www.oasis-open.org/docbook/xml/4.3" "$(loc '4.3')" +} + +SRCNAME[4]=${NAME}-xml +SRCVERS[4]=4.2 +SRCPACK[4]=http://www.docbook.org/xml/${SRCVERS[4]}/${SRCNAME[4]}-${SRCVERS[4]}.zip +SRCCOPY[4]="MIT" +SRCOPTS[4]="nosrcroot" + +build4() +{ +doc ChangeLog +do_install ${SRCVERS[4]} +catadd "public" "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" +catadd "public" "-//OASIS//DTD DocBook CALS Table Model V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/calstblx.dtd" +catadd "public" "-//OASIS//DTD XML Exchange Table Model 19990315//EN" "http://www.oasis-open.org/docbook/xml/4.2/soextblx.dtd" +catadd "public" "-//OASIS//ELEMENTS DocBook Information Pool V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/dbpoolx.mod" +catadd "public" "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod" +catadd "public" "-//OASIS//ENTITIES DocBook Additional General Entities V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/dbgenent.mod" +catadd "public" "-//OASIS//ENTITIES DocBook Notations V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/dbnotnx.mod" +catadd "public" "-//OASIS//ENTITIES DocBook Character Entities V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/dbcentx.mod" +catadd "rewriteSystem" "http://www.oasis-open.org/docbook/xml/4.2" "$(loc '4.2')" +catadd "rewriteURI" "http://www.oasis-open.org/docbook/xml/4.2" "$(loc '4.2')" +} + +SRCNAME[5]=${NAME}-xml +SRCVERS[5]=4.1.2 +SRCPACK[5]=http://www.docbook.org/xml/${SRCVERS[4]}/docbkx412.zip +SRCCOPY[5]="MIT" +SRCOPTS[5]="nosrcroot" + +build5() +{ +doc ChangeLog +do_install ${SRCVERS[5]} +catadd "public" "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" +catadd "public" "-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/calstblx.dtd" +catadd "public" "-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/calstblx.dtd" +catadd "public" "-//OASIS//DTD XML Exchange Table Model 19990315//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/soextblx.dtd" +catadd "public" "-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/dbpoolx.mod" +catadd "public" "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/dbhierx.mod" +catadd "public" "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/dbgenent.mod" +catadd "public" "-//OASIS//ENTITIES DocBook XML Notations V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/dbnotnx.mod" +catadd "public" "-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod" +catadd "rewriteSystem" "http://www.oasis-open.org/docbook/xml/4.1.2" "$(loc '4.1.2')" +catadd "rewriteURI" "http://www.oasis-open.org/docbook/xml/4.1.2" "$(loc '4.1.2')" +} + +SRCNAME[6]=${NAME}-xsl +SRCVERS[6]=${XSLVER} +SRCPACK[6]=${URL[sf]}/docbook/docbook-xsl/${SRCVERS[6]}/${SRCNAME[6]}-${SRCVERS[6]}.tar.bz2 + +build6() +{ +doc AUTHORS +license COPYING +changelog NEWS +install.dir ${PKG}${SYS_DIR[share]}/xml/docbook/stylesheet +DIRS="assembly common eclipse epub epub3 fo highlighting html htmlhelp javahelp lib manpages params profiling roundtrip template website xhtml xhtml-1_1 xhtml5" +for dir in ${DIRS}; do + install.dir ${PKG}${SYS_DIR[share]}/xml/docbook/stylesheet/${dir} + install.dat ${dir}/*.{xml,xsl,dtd,ent} ${PKG}${SYS_DIR[share]}/xml/docbook/stylesheet/${dir} 2>/dev/null +done +install.dat VERSION.xsl ${PKG}${SYS_DIR[share]}/xml/docbook/stylesheet +} + +SRCNAME[7]=xmlto +SRCVERS[7]=0.0.25 +SRCPACK[7]=http://fedorahosted.org/releases/x/m/xmlto/${SRCNAME[7]}-${SRCVERS[7]}.tar.bz2 +SRCCOPY[7]="GPL2" + +build7() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --datadir="${SYS_DIR[share]}/application-data" \ + --with-webbrowser="links" +# --with-backend="dblatex" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog NEWS +} diff --git a/development/docbook/xmlto-0.0.25-elinks.patch.xz b/development/docbook/xmlto-0.0.25-elinks.patch.xz new file mode 100644 index 0000000..04c08dc Binary files /dev/null and b/development/docbook/xmlto-0.0.25-elinks.patch.xz differ diff --git a/development/flex/flex-2.5.37-lex.patch.xz b/development/flex/flex-2.5.37-lex.patch.xz new file mode 100644 index 0000000..5858cc1 Binary files /dev/null and b/development/flex/flex-2.5.37-lex.patch.xz differ diff --git a/development/flex/flex.build b/development/flex/flex.build new file mode 100755 index 0000000..97e423d --- /dev/null +++ b/development/flex/flex.build @@ -0,0 +1,80 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=flex +VERSION=2.5.37 +BUILD=1 +DEPENDS=('m4 >= 1.4.16-1') + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < /dev/null + fi + done +} + +# Install texinfo files + +install_info flex +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[sf]}/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-rpath \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --infodir="${SYS_DIR[info]}" \ + --docdir="${SYS_DIR[doc]}/flex" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog NEWS +license COPYING +install.bin lex.sh ${PKG}${SYS_DIR[bin]}/lex +rm -rf ${PKG}${SYS_DIR[doc]}/flex +} diff --git a/development/gdb/gdb.build b/development/gdb/gdb.build new file mode 100755 index 0000000..70d536f --- /dev/null +++ b/development/gdb/gdb.build @@ -0,0 +1,83 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=gdb +VERSION=7.6 +BUILD=1 +DEPENDS=('expat >= 2.1.0-1') + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < /dev/null + fi + done +} + +# Install texinfo files + +install_info gdb gdbint stabs +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=ftp://sourceware.org/pub/gdb/releases/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="GPL2 LGPL2 GPL3 LGPL3" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-system-readline +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog gdb/NEWS +rm -rf \ + ${PKG}${SYS_DIR[lib]}/lib{bfd,iberty,opcodes}* \ + ${PKG}${SYS_DIR[lib]}64 \ + ${PKG}${SYS_DIR[info]}/{annotate,bfd,configure,standards}* \ + ${PKG}${SYS_DIR[include]} \ + ${PKG}${SYS_DIR[share]}/locale +} diff --git a/development/gettext/gettext-0.18.2.1-pkglibdir.patch.xz b/development/gettext/gettext-0.18.2.1-pkglibdir.patch.xz new file mode 100644 index 0000000..43365e9 Binary files /dev/null and b/development/gettext/gettext-0.18.2.1-pkglibdir.patch.xz differ diff --git a/development/gettext/gettext.build b/development/gettext/gettext.build new file mode 100755 index 0000000..44725e8 --- /dev/null +++ b/development/gettext/gettext.build @@ -0,0 +1,88 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=gettext +VERSION=0.18.2.1 +BUILD=1 +DEPENDS=('expat >= 2.1.0-1') + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < /dev/null + fi + done +} + +# Install texinfo files + +install_info gettext autosprintf +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[gnu]}/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL3" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --disable-rpath \ + --enable-static=no \ + --enable-shared=yes \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --infodir="${SYS_DIR[info]}" \ + --docdir="${SYS_DIR[html]}/${SRCNAME[0]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --enable-threads=posix \ + --with-included-glib \ + --with-included-libcroco \ + --with-included-libunistring \ + --with-included-libxml +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog NEWS +rm -rf ${PKG}${SYS_DIR[html]} +chmod 0755 ${PKG}${SYS_DIR[lib]}/preloadable_libintl.so +} diff --git a/development/git/git.build b/development/git/git.build new file mode 100755 index 0000000..3a7b24f --- /dev/null +++ b/development/git/git.build @@ -0,0 +1,121 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=git +MAJOR=1.8 +VERSION=${MAJOR}.3 +BUILD=1 +DEPENDS=('openssl >= 1.0.1e-1' 'curl >= 7.29.0-1' 'expat >= 2.1.0-1' 'pcre >= 8.33-1' 'perl >= 5.18.0-1') +OPTDEPENDS=('python >= 2.7.4-1') + +# Description + +cat > ${PKG}/install/slack-desc < $PKG/install/slack-desc < $PKG/install/slack-required <= 2.20.1-i486-1 +libxml2 >= 2.7.6-i486-1 +EOF + +install -m 0644 -g 0 -o 0 AUTHORS NEWS README \ + $PKG/usr/doc/$NAME-$VERSION + +xz -9f \ + $PKG/usr/doc/$NAME-$VERSION/NEWS + +chmod 0444 $PKG/usr/man/man?/*.? +xz -9f $PKG/usr/man/man?/*.? + +rm -f \ + $PKG/usr/lib/*.la \ + $PKG/usr/lib/*/*/*.la + +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/development/gperf/gperf.build b/development/gperf/gperf.build new file mode 100755 index 0000000..d2141c3 --- /dev/null +++ b/development/gperf/gperf.build @@ -0,0 +1,76 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=gperf +VERSION=3.0.4 +BUILD=1 + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < /dev/null + fi + done +} + +# Install texinfo files + +install_info gperf +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[gnu]}/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +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]}" \ + --docdir="${SYS_DIR[doc]}/gperf" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +rm -rf ${PKG}${SYS_DIR[doc]}/gperf +} diff --git a/development/gtk_doc/gtk_doc.build b/development/gtk_doc/gtk_doc.build new file mode 100755 index 0000000..6702243 --- /dev/null +++ b/development/gtk_doc/gtk_doc.build @@ -0,0 +1,60 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=gtk_doc +VERSION=1.18 +BUILD=1 + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=icon_naming_utils +VERSION=0.8.90 +BUILD=2 +ARCH=noarch +DEPENDS=('perl >= 5.12.3-1') + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=indent +VERSION=2.2.11 +BUILD=1 + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < /dev/null + fi + done +} + +# Install texinfo files + +install_info indent +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://ftp.de.debian.org/debian/pool/main/i/indent/${SRCNAME[0]}_${SRCVERS[0]}.orig.tar.gz +SRCCOPY[0]="GPL3" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --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]}" +make ${JOBS} +make install DESTDIR="${PKG}" docdir="${SYS_DIR[doc]}/indent" +doc AUTHORS +changelog ChangeLog +rm -rf ${PKG}${SYS_DIR[doc]}/indent +} diff --git a/development/ldc/ldc-20120620-bashcompletioninstall.patch.xz b/development/ldc/ldc-20120620-bashcompletioninstall.patch.xz new file mode 100644 index 0000000..f04d854 Binary files /dev/null and b/development/ldc/ldc-20120620-bashcompletioninstall.patch.xz differ diff --git a/development/ldc/ldc.build b/development/ldc/ldc.build new file mode 100755 index 0000000..1dc19de --- /dev/null +++ b/development/ldc/ldc.build @@ -0,0 +1,65 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=ldc +VERSION=20120620 +BUILD=1 +DEPENDS=('libconfig >= 1.4.8-1') + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=llvm +VERSION=3.3 +BUILD=1 +DEPENDS=('libraries >= 20130606-1') + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=llvm_lua +VERSION=1.3.1 +BUILD=1 +DEPENDS=('llvm >= 2.8-1') + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=lua +MAJOR=5.2 +VERSION=${MAJOR}.2 +BUILD=1 + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=m4 +VERSION=1.4.16 +BUILD=2 + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < /dev/null + fi + done +} + +# Install texinfo files + +install_info m4 +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]}" +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog NEWS +} diff --git a/development/make/make-3.82-bug30612.patch.xz b/development/make/make-3.82-bug30612.patch.xz new file mode 100644 index 0000000..2058f22 Binary files /dev/null and b/development/make/make-3.82-bug30612.patch.xz differ diff --git a/development/make/make-3.82-bug30723.patch.xz b/development/make/make-3.82-bug30723.patch.xz new file mode 100644 index 0000000..5612295 Binary files /dev/null and b/development/make/make-3.82-bug30723.patch.xz differ diff --git a/development/make/make-3.82-dontpruneintermediate.patch.xz b/development/make/make-3.82-dontpruneintermediate.patch.xz new file mode 100644 index 0000000..08d01e3 Binary files /dev/null and b/development/make/make-3.82-dontpruneintermediate.patch.xz differ diff --git a/development/make/make-3.82-expensiveglob.patch.xz b/development/make/make-3.82-expensiveglob.patch.xz new file mode 100644 index 0000000..e29a538 Binary files /dev/null and b/development/make/make-3.82-expensiveglob.patch.xz differ diff --git a/development/make/make-3.82-makeflags.patch.xz b/development/make/make-3.82-makeflags.patch.xz new file mode 100644 index 0000000..b7bc59d Binary files /dev/null and b/development/make/make-3.82-makeflags.patch.xz differ diff --git a/development/make/make-3.82-sortblank.patch.xz b/development/make/make-3.82-sortblank.patch.xz new file mode 100644 index 0000000..709d8d5 Binary files /dev/null and b/development/make/make-3.82-sortblank.patch.xz differ diff --git a/development/make/make.build b/development/make/make.build new file mode 100755 index 0000000..fe4cbb5 --- /dev/null +++ b/development/make/make.build @@ -0,0 +1,75 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=make +VERSION=3.82 +BUILD=2 + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < /dev/null + fi + done +} + +# Install texinfo files + +install_info make +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://ftp.gnu.org/gnu/make/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCOPTS[0]="GPL3" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +} diff --git a/development/mariadb/mariadb-5.5.30-etcdir.patch.xz b/development/mariadb/mariadb-5.5.30-etcdir.patch.xz new file mode 100644 index 0000000..b8bd1c7 Binary files /dev/null and b/development/mariadb/mariadb-5.5.30-etcdir.patch.xz differ diff --git a/development/mariadb/mariadb-5.5.30-service.patch.xz b/development/mariadb/mariadb-5.5.30-service.patch.xz new file mode 100644 index 0000000..37f10cb Binary files /dev/null and b/development/mariadb/mariadb-5.5.30-service.patch.xz differ diff --git a/development/mariadb/mariadb-5.5.30-sysconfdir.patch.xz b/development/mariadb/mariadb-5.5.30-sysconfdir.patch.xz new file mode 100644 index 0000000..00fd94f Binary files /dev/null and b/development/mariadb/mariadb-5.5.30-sysconfdir.patch.xz differ diff --git a/development/mariadb/mariadb-5.5.30-sysvinit.patch.xz b/development/mariadb/mariadb-5.5.30-sysvinit.patch.xz new file mode 100644 index 0000000..04d626d Binary files /dev/null and b/development/mariadb/mariadb-5.5.30-sysvinit.patch.xz differ diff --git a/development/mariadb/mariadb-5.5.30-tmpfilesd.patch.xz b/development/mariadb/mariadb-5.5.30-tmpfilesd.patch.xz new file mode 100644 index 0000000..052c8fb Binary files /dev/null and b/development/mariadb/mariadb-5.5.30-tmpfilesd.patch.xz differ diff --git a/development/mariadb/mariadb.build b/development/mariadb/mariadb.build new file mode 100755 index 0000000..b1945e8 --- /dev/null +++ b/development/mariadb/mariadb.build @@ -0,0 +1,198 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=mariadb +VERSION=5.5.30 +BUILD=1 +OPTDEPENDS=('openssl >= 1.0.1e-1') + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < /dev/null 2> /dev/null ; then + true +else + echo "mariadb:x:27:27:MariaDB:/var/lib/mariadb:/bin/bash" >> etc/passwd +fi +if grep "^mariadb:x:" etc/group 1> /dev/null 2> /dev/null ; then + true +else + echo "mariadb:x:27:" >> etc/group +fi +if grep "^mariadb:" etc/shadow 1> /dev/null 2> /dev/null ; then + true +else + echo "mariadb:*:9797:0:::::" >> etc/shadow +fi + +# Fix directory permissions + +( + cd var/lib + chown mariadb.mariadb mariadb + chmod 750 mariadb +) + +# Create mariadb's run directory if it's not already there + +if [ ! -d run/mariadb ]; then + install -m 0750 -o mariadb -g mariadb -d run/mariadb +fi + +# Initialize the database if it isn't + +if [ ! -d var/lib/mariadb/mysql ]; then + usr/bin/mysql_install_db --user=mariadb --basedir=usr --datadir=var/lib/mariadb + chown -R mariadb.mariadb var/lib/mariadb &>/dev/null +fi + +# Keep same perms on rc.mariadb.new: + +if [ -e etc/rc.d/rc.mariadb ]; then + cp -a etc/rc.d/rc.mariadb etc/rc.d/rc.mariadb.new.incoming + cat etc/rc.d/rc.mariadb.new > etc/rc.d/rc.mariadb.new.incoming + mv etc/rc.d/rc.mariadb.new.incoming etc/rc.d/rc.mariadb.new +fi + +config etc/rc.d/rc.mariadb.new +config etc/mariadb/mysqlaccess.conf.new +config etc/mariadb/my.cnf.new +config etc/mariadb/my.cnf.d/client.cnf.new +config etc/mariadb/my.cnf.d/mysql-clients.cnf.new +config etc/mariadb/my.cnf.d/server.cnf.new +config etc/logrotate.d/mariadb.new +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://downloads.askmonty.org/f/${SRCNAME[0]}-${SRCVERS[0]}/kvm-tarbake-jaunty-x86/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2 LGPL21" +# normla nostrip ? + +build0() +{ +cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DMANUFACTURER="Tightware" \ + -DCMAKE_C_FLAGS="-fPIC ${FLAGS} -DBIG_JOINS=1 -fno-strict-aliasing" \ + -DCMAKE_CXX_FLAGS="-fPIC ${FLAGS} -DBIG_JOINS=1 -fno-strict-aliasing -felide-constructors -fno-rtti" \ + -DWITH_MYSQLD_LDFLAGS="${LDFLAGS}" \ + -DCMAKE_INSTALL_PREFIX="${SYS_DIR[usr]}" \ + -DMYSQL_DATADIR="${SYS_DIR[var]}/lib/mariadb" \ + -DMYSQL_UNIX_ADDR="${SYS_DIR[run]}/mariadb/mariadb.sock" \ + -DINSTALL_SCRIPTDIR="${SYS_DIR[bin]}" \ + -DINSTALL_INCLUDEDIR="${SYS_DIR[include]}/mariadb" \ + -DINSTALL_SYSCONFDIR="${SYS_DIR[etc]}/mariadb" \ + -DINSTALL_MANDIR="${SYS_DIR[man]}" \ + -DINSTALL_PLUGINDIR="${SYS_DIR[lib]}/plugins/mariadb" \ + -DINSTALL_SHAREDIR="${SYS_DIR[share]}" \ + -DINSTALL_MYSQLSHAREDIR="share/application-data/mariadb" \ + -DINSTALL_SUPPORTFILESDIR="${SYS_DIR[doc]}/mariadb/sample" \ + -DINSTALL_DOCREADMEDIR="${SYS_DIR[doc]}/mariadb" \ + -DINSTALL_DOCDIR="${SYS_DIR[doc]}/mariadb" \ + -DINSTALL_SQLBENCHDIR="${SYS_DIR[usr]}/src" \ + -DINSTALL_MYSQLTESTDIR="${SYS_DIR[usr]}/src" \ + -DMYSQLD_USER="mariadb" \ + -DDEFAULT_CHARSET=utf8 \ + -DDEFAULT_COLLATION=utf8_general_ci \ + -DENABLED_LOCAL_INFILE=ON \ + -DUSE_ARIA_FOR_TMP_TABLES=ON \ + -DWITH_ZLIB=system \ + -DWITH_SSL=system \ + -DWITH_READLINE=ON \ + -DWITH_LIBWRAP=OFF \ + -DWITH_EXTRA_CHARSETS=complex \ + -DWITH_EMBEDDED_SERVER=ON \ + -DWITH_ARCHIVE_STORAGE_ENGINE=1 \ + -DWITH_BLACKHOLE_STORAGE_ENGINE=1 \ + -DWITH_INNOBASE_STORAGE_ENGINE=1 \ + -DWITH_PARTITION_STORAGE_ENGINE=1 \ + -DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 \ + -DWITHOUT_FEDERATED_STORAGE_ENGINE=1 \ + -DWITHOUT_PBXT_STORAGE_ENGINE=1 \ +CMakeLists.txt +make ${JOBS} +make install DESTDIR="${PKG}" +install.dir ${PKG}${SYS_DIR[var]}/lib/mariadb +install.dir ${PKG}${SYS_DIR[etc]}/{rc.d,tmpfiles.d} +install.dat rc.mariadb.new ${PKG}${SYS_DIR[etc]}/rc.d/rc.mariadb.new +install.dat mariadb.conf.tmpfiles ${PKG}${SYS_DIR[etc]}/tmpfiles.d/mariadb.conf +install.dir ${PKG}${SYS_DIR[systemdsystemunitdir]} +install.dat mariadb.service ${PKG}${SYS_DIR[systemdsystemunitdir]} +install.bin mysqld-post.sh ${PKG}${SYS_DIR[bin]}/mysqld-post +install.dat support-files/{my-*.cnf,*.ini} ${PKG}${SYS_DIR[etc]}/mariadb +install.cfg scripts/mysqlaccess.conf ${PKG}${SYS_DIR[etc]}/mariadb +mv \ + ${PKG}${SYS_DIR[lib]}/plugins/mariadb/daemon_example.ini \ + ${PKG}${SYS_DIR[etc]}/mariadb +config ${PKG}${SYS_DIR[etc]}/logrotate.d/mariadb +config ${PKG}${SYS_DIR[etc]}/mariadb/mysqlaccess.conf +config ${PKG}${SYS_DIR[etc]}/mariadb/my.cnf +config ${PKG}${SYS_DIR[etc]}/mariadb/my.cnf.d/client.cnf +config ${PKG}${SYS_DIR[etc]}/mariadb/my.cnf.d/mysql-clients.cnf +config ${PKG}${SYS_DIR[etc]}/mariadb/my.cnf.d/server.cnf + +#FIXME: compat + +( + cd ${PKG}${SYS_DIR[include]} + ln -sf mariadb mysql +) + +# Unneeded stuff + +rm -rf \ + ${PKG}${SYS_DIR[lib]}/libmysql{d,client,client_r}.a \ + ${PKG}${SYS_DIR[bin]}/rcmysql \ + ${PKG}${SYS_DIR[etc]}/init.d \ + ${PKG}${SYS_DIR[man]}/man1/{mysqlman,mysql.server,mysql*test*.pl}.1 \ + ${PKG}${SYS_DIR[usr]}/src \ + ${PKG}${SYS_DIR[usr]}/data \ + ${PKG}${SYS_DIR[doc]}/mariadb + +#FIXME: Make subpackages of mysql-test and sql-bench +} diff --git a/development/patch/patch.build b/development/patch/patch.build new file mode 100755 index 0000000..4b5b943 --- /dev/null +++ b/development/patch/patch.build @@ -0,0 +1,58 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=patch +VERSION=2.7.1 +BUILD=2 + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=perl +MAJOR=5 +VERSION=${MAJOR}.18.0 +BUILD=1 +OPTDEPENDS=('libdb >= 5.3.21-1' 'gdbm >= 1.10-1') + +# Description + +cat > ${PKG}/install/slack-desc < pstruct.1 + echo ".so man1/s2p.1" > psed.1 +) +# Set no mail address since bug reports should go to the bug tracker +# and not someone's email. +sed -e "/^cf_email=/ s/'.*'/''/" \ + -e "/^perladmin=/ s/'.*'/''/" \ + -i ${PKG}${SYS_DIR[lib]}/plugins/perl/${MAJOR}/Config_heavy.pl +# Set CPAN default config to use the site directories. +sed -e '/(makepl_arg =>/ s/""/"INSTALLDIRS=site"/' \ + -e '/(mbuildpl_arg =>/ s/""/"installdirs=site"/' \ + -i ${PKG}${SYS_DIR[share]}/perl/${MAJOR}/CPAN/FirstTime.pm +# Set CPANPLUS default config to use the site directories. +sed -e "/{'makemakerflags'}/ s/'';/'INSTALLDIRS=site';/" \ + -e "/{'buildflags'}/ s/'';/'installdirs=site';/" \ + -i ${PKG}${SYS_DIR[share]}/perl/${MAJOR}/CPANPLUS/Config.pm +# Cleanup +( + cd ${PKG}${SYS_DIR[share]}/perl/${MAJOR} + mv pod .. + find . -name '*.pod' -delete + mv ../pod . +) +find ${PKG}${SYS_DIR[lib]} -name '*.pod' -delete +find ${PKG} -name '.packlist' -delete +rm -rf ${PKG}${SYS_DIR[usr]}/local +} diff --git a/development/perl_xmlparser/perl_xmlparser.build b/development/perl_xmlparser/perl_xmlparser.build new file mode 100755 index 0000000..1b2948d --- /dev/null +++ b/development/perl_xmlparser/perl_xmlparser.build @@ -0,0 +1,54 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=perl_xmlparser +VERSION=2.41 +BUILD=1 +REQUIRES=('perl >= 5.18.0-1' 'expat >= 2.1.0-1') + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=php +VERSION=5.4.15 +BUILD=1 +DEPENDS=('libxml >= 2.9.0-1') +OPTDEPENDS=('curl >= 7.29.0-1' 'gnutls >= 3.1.10-1' 'openssl >= 1.0.1e-1' 'gdbm >= 1.10-1' 'enchant >= 1.6.0-1' 'libxslt >= 1.1.28-1') + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < etc/rc.d/rc.php-fpm.new.incoming + mv etc/rc.d/rc.php-fpm.new.incoming etc/rc.d/rc.php-fpm.new +fi + +config etc/php-fpm.conf.new +config etc/php.d/php.ini.new +config etc/apache/extra/httpd-mod_php.conf.new +config etc/conf.d/php.conf.new +config etc/rc.d/rc.php-fpm.new +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=ftp://fr2.php.net/mirrors/www.php.net/distributions/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="PHP" + +configure() +{ +extensions="--enable-bcmath=shared \ + --enable-calendar=shared \ + --enable-ctype=shared \ + --enable-dba=shared \ + --enable-exif=shared \ + --enable-fpm \ + --enable-ftp=shared \ + --enable-gd-native-ttf \ + --enable-gd-jis-conv \ + --enable-hash \ + --enable-json=shared \ + --enable-mbregex=shared \ + --enable-mbstring=shared \ + --enable-mod_charset \ + --enable-pdo=shared \ + --enable-dom=shared \ + --enable-phar \ + --enable-posix=shared \ + --enable-session \ + --enable-shmop=shared \ + --enable-simplexml \ + --enable-soap=shared \ + --enable-sockets=shared \ + --enable-sqlite-utf8 \ + --enable-sysvmsg=shared \ + --enable-sysvsem=shared \ + --enable-sysvshm=shared \ + --enable-tokenizer=shared \ + --enable-wddx=shared \ + --enable-xml=shared \ + --enable-xmlreader=shared \ + --enable-zip=shared \ + --with-fpm-user=apache \ + --with-fpm-group=apache \ + --with-bz2=shared,${SYS_DIR[usr]} \ + --with-curl=shared,${SYS_DIR[usr]} \ + --with-curlwrappers \ + --with-db4=${SYS_DIR[usr]} \ + --with-enchant=shared,${SYS_DIR[usr]} \ + --with-freetype-dir=${SYS_DIR[usr]} \ + --with-gd=shared \ + --with-gdbm=shared,${SYS_DIR[usr]} \ + --with-gettext=shared,${SYS_DIR[usr]} \ + --with-gmp=shared,${SYS_DIR[usr]} \ + --with-iconv=shared \ + --with-jpeg-dir=shared,${SYS_DIR[usr]} \ + --with-libxml-dir=${SYS_DIR[usr]} \ + --with-mhash=shared,${SYS_DIR[usr]} \ + --with-mysql=shared,mysqlnd \ + --with-mysql-sock=${SYS_DIR[run]}/mariadb/mariadb.sock \ + --with-mysqli=shared,mysqlnd \ + --with-openssl=shared \ + --with-pcre-dir=${SYS_DIR[usr]} \ + --with-pcre-regex=${SYS_DIR[usr]} \ + --with-pdo-mysql=shared,mysqlnd \ + --with-pdo-sqlite=shared,${SYS_DIR[usr]} \ + --with-png-dir=shared,${SYS_DIR[usr]} \ + --with-readline=shared,${SYS_DIR[usr]} \ + --with-regex=php \ + --with-snmp=shared,${SYS_DIR[usr]} \ + --with-sqlite3=shared,${SYS_DIR[usr]} \ + --with-t1lib=${SYS_DIR[usr]} \ + --with-vpx-dir=${SYS_DIR[usr]} \ + --with-xpm-dir=${SYS_DIR[usr]} \ + --with-xsl=shared,${SYS_DIR[usr]} \ + --with-zlib=shared,${SYS_DIR[usr]} \ + " +#FIXME: some PHP extensions are missing +# --with-mm=${SYS_DIR[usr]} \ +# --with-ldap=shared \ +# --with-imap-ssl=${SYS_DIR[usr]} \ # Requires Alpine's c-client.a +# --with-imap=${SYS_DIR[usr]} \ +# --enable-simplexml=shared \ # Cannot build SPL as a module +# --enable-intl=shared \ # Requires ICU which is a fat dependency we don't want +# --with-mcrypt=${SYS_DIR[usr]} \ # Requires mcrypt.h +# --with-pspell=shared,${SYS_DIR[usr]} \ # Requires pspell + +#FIXME: SQLite3 won't compile and break the build with -ffast-math +export O_FLAGS="${FLAGS//-ffast-math}" + +export EXTENSION_DIR="${SYS_DIR[lib]}/plugins/php" +#export PEAR_INSTALLDIR="${SYS_DIR[share]}/pear" + +CPPFLAGS="-I${SYS_DIR[include]}/apr-1 -I${SYS_DIR[include]}/sqlite-3" \ +CFLAGS="${O_FLAGS}" CXXFLAGS="${O_FLAGS}" \ +./configure \ + ${*} \ + --build="${ARCH}-slackware-linux" \ + --prefix="${SYS_DIR[usr]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[share]}/php" \ + --mandir="${SYS_DIR[man]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --datarootdir="${SYS_DIR[share]}" \ + --datadir="${SYS_DIR[share]}" \ + --with-config-file-scan-dir="${SYS_DIR[etc]}/php.d" \ + --with-config-file-path="${SYS_DIR[etc]}/php.d" \ + --without-pear \ + --disable-rpath \ + --disable-debug \ + --disable-magic-quotes \ + --disable-safe-mode \ + --disable-sigchild \ + --enable-maintainer-zts \ + --enable-inline-optimization \ + --enable-static=no \ + --enable-shared=yes \ + --enable-filter \ + --enable-zend-multibyte \ + --with-pic \ + --with-gnu-ld \ + --with-tsrm-pthreads \ + ${extensions} +# --with-pear=/usr/share/pear +# Old stuff +# --with-shared-layout=PHP +# --enable-discard-path +# --enable-force-cgi-redirect +} + +build0() +{ +#FIXME: Apache config file hack +( +install.dir ${PKG}${SYS_DIR[etc]}/apache +install.dat apache.hack ${PKG}${SYS_DIR[etc]}/apache/httpd.conf +) +# apache2 + cli build +configure \ + --with-apxs2="${SYS_DIR[bin]}/apxs" \ + --enable-pcntl +make ${JOBS} install INSTALL_ROOT="${PKG}" +make install-cli INSTALL_ROOT="${PKG}" +#make install-pear INSTALL_ROOT="${PKG}" +changelog NEWS +install.dir ${PKG}${SYS_DIR[etc]}/{php,tmpfiles,conf,rc}.d +install.cfg php.ini-* ${PKG}${SYS_DIR[etc]}/php.d +install.cfg php.ini-development ${PKG}${SYS_DIR[etc]}/php.d/php.ini.new +install.dir ${PKG}${SYS_DIR[etc]}/apache/extra +install.cfg mod_php.conf.example \ + ${PKG}${SYS_DIR[etc]}/apache/extra/httpd-mod_php.conf.new +mv \ + ${PKG}${SYS_DIR[etc]}/php-fpm.conf.default \ + ${PKG}${SYS_DIR[etc]}/php-fpm.conf.new +install.cfg sapi/fpm/init.d.php-fpm ${PKG}${SYS_DIR[etc]}/rc.d/rc.php-fpm.new +install.cfg php-fpm.conf.tmpfiles ${PKG}${SYS_DIR[etc]}/tmpfiles.d/php-fpm.conf +install.dir ${PKG}${SYS_DIR[var]}/lib/php +chgrp apache ${PKG}${SYS_DIR[var]}/lib/php +chmod 0770 ${PKG}${SYS_DIR[var]}/lib/php +install.cfg php.conf.d ${PKG}${SYS_DIR[etc]}/conf.d/php.conf.new +install.dir ${PKG}${SYS_DIR[systemdsystemscriptdir]} +install.bin cleanphpsession ${PKG}${SYS_DIR[systemdsystemscriptdir]} +install.dir ${PKG}${SYS_DIR[systemdsystemunitdir]} +install.cfg sapi/fpm/php-fpm.service ${PKG}${SYS_DIR[systemdsystemunitdir]} +install.dir ${PKG}${SYS_DIR[etc]}/cron.daily +( + cd ${PKG}${SYS_DIR[etc]}/cron.daily + ln -sf ${SYS_DIR[share]}/systemd/script/cleanphpsession php +) +config ${PKG}${SYS_DIR[etc]}/php-fpm.conf +chmod 0755 \ + ${PKG}${SYS_DIR[bin]}/php \ + ${PKG}${SYS_DIR[lib]}/plugins/php/* +rm -f \ + ${PKG}${SYS_DIR[var]}/run \ + ${PKG}${SYS_DIR[etc]}/php.d/*~ \ + ${PKG}${SYS_DIR[etc]}/apache/httpd* +} diff --git a/development/php_apc/APC-3.1.13-config.patch.xz b/development/php_apc/APC-3.1.13-config.patch.xz new file mode 100644 index 0000000..03879b1 Binary files /dev/null and b/development/php_apc/APC-3.1.13-config.patch.xz differ diff --git a/development/php_apc/php_apc.build b/development/php_apc/php_apc.build new file mode 100755 index 0000000..714378b --- /dev/null +++ b/development/php_apc/php_apc.build @@ -0,0 +1,76 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=php_apc +VERSION=3.1.13 +BUILD=2 +DEPENDS=('php >= 5.4.15-1') + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < + +source /usr/src/ports/Build/build.sh + +NAME=pkgconfig +VERSION=0.28 +BUILD=3 + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=python +MAJOR=2.7 +VERSION=${MAJOR}.4 +BUILD=1 +OPTDEPENDS=('gdbm >= 1.10-1' 'bzip2 >= 1.0.6-1' 'openssl >= 1.0.1e-1' 'expat >= 2.1.0-1' 'sqlite >= 3.7.16.1-1') + +# Description + +cat > ${PKG}/install/slack-desc < python2.1 + echo ".so man1/python${MAJOR}.1" > python.1 +) +# Fix conflicts with python 3.x +( + cd ${PKG}${SYS_DIR[bin]} + mv idle{,2} + mv pydoc{,2} + mv 2to3{,-${MAJOR}} + ln -sf idle2 idle + ln -sf pydoc2 pydoc + ln -sf 2to3-${MAJOR} 2to3 +) +# We don't need smtp.py in /usr/bin +mv ${PKG}${SYS_DIR[bin]}/smtpd.py ${PKG}${PYTHONLIBDIR} +# python -> python2 +sed -i "s|#[ ]*![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ + $(find ${PKG}${PYTHONLIBDIR} -name '*.py') +# More clean up... +sed -i "s|${PKG}/Python-${SRCVERS[0]}:||g" ${PKG}${PYTHONLIBDIR}/config/Makefile +} diff --git a/development/python_m2crypto/python_m2crypto.build b/development/python_m2crypto/python_m2crypto.build new file mode 100755 index 0000000..5095759 --- /dev/null +++ b/development/python_m2crypto/python_m2crypto.build @@ -0,0 +1,48 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=python_m2crypto +VERSION=0.21.1 +BUILD=1 +DEPENDS=('python >= 2.7.4-1' 'openssl >= 1.0.1e-1') + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=ruby +MAJOR=2.0 +MINOR=0 +PATCH=195 +VERSION=${MAJOR}.${MINOR}.${PATCH} +BUILD=2 +OPTDEPENDS=('openssl >= 1.0.1e-1' 'libdb >= 5.3.21-1' 'gdbm >= 1.10-1') + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < + +source /usr/src/ports/Build/build.sh + +NAME=ruby_cairo +VERSION=1.12.4 +BUILD=1 +DEPENDS=('ruby >= 2.0.0.195-1' 'cairo >= 1.12.12-1') + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=ruby_gtk2 +VERSION=2.0.0 +BUILD=1 +DEPENDS=('ruby_cairo >= 1.12.4-1' 'gtk+ >= 2.24.17-1') + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=ruby_pkgconfig +VERSION=1.1.4 +BUILD=1 +ARCH=noarch +DEPENDS=('ruby >= 2.0.0.195-1') + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=scons +VERSION=2.3.0 +BUILD=1 +ARCH=noarch +DEPENDS=('python >= 2.7.4-1') + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=strace +VERSION=4.8 +BUILD=1 + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=subversion +VERSION=1.6.16 +BUILD=1 +DEPENDS=('neon >= 0.29.5-1' 'apr >= 1.4.2-1') + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=udis86 +VERSION=1.7 +BUILD=2 + +# Description + +cat > ${PKG}/install/slack-desc < $PKG/install/slack-desc < /tmp/$NAME-$VERSION-$ARCH-$BUILD.txt +makepkg -l y -c n /tmp/$NAME-$VERSION-$ARCH-$BUILD.txz diff --git a/development/xfce_dev_tools/xfce_dev_tools.build b/development/xfce_dev_tools/xfce_dev_tools.build new file mode 100755 index 0000000..c13d092 --- /dev/null +++ b/development/xfce_dev_tools/xfce_dev_tools.build @@ -0,0 +1,58 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=xfce_dev_tools +MAJOR=4.10 +VERSION=${MAJOR}.0 +BUILD=2 +DEPENDS=('glib >= 2.36.0-1') + +# Description + +cat > ${PKG}/install/slack-desc < + +source /usr/src/ports/Build/build.sh + +NAME=yasm +VERSION=1.2.0 +BUILD=2 + +# Description + +cat > ${PKG}/install/slack-desc <