diff options
author | Deposite Pirate | 2018-09-16 18:48:36 +0200 |
---|---|---|
committer | Deposite Pirate | 2018-09-16 18:48:36 +0200 |
commit | d150a5f3e462fa7fe194a805a4aa0076f4d03ab9 (patch) | |
tree | ce5e44d69c5f3175bfdbd1e3717b52c5dcca5638 /development | |
parent | f29d3519ce073ec30f99754d93304324f7f26d65 (diff) |
Add ports.
Diffstat (limited to 'development')
102 files changed, 4123 insertions, 0 deletions
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 <ofni.sknuplatem@etaripd> + +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 <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: asciidoc (text-based document generation) +${NAME}: +${NAME}: AsciiDoc is a text document format for writing notes, documentation, +${NAME}: articles, books, ebooks, slideshows, web pages, man pages and blogs. +${NAME}: AsciiDoc files can be translated to many formats including HTML, +${NAME}: PDF, EPUB, man page. It is highly configurable: both the AsciiDoc +${NAME}: source file syntax and the backend output markups (which can be +${NAME}: almost any type of SGML/XML markup) can be customized and extended +${NAME}: by the user. +${NAME}: +${NAME}: Homepage: http://www.methods.co.nz/asciidoc +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[sf]}/asciidoc/asciidoc/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[share]}/application-data" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc BUGS +changelog CHANGELOG +install.dir ${PKG}${SYS_DIR[share]}/vim/{syntax,ftdetect} +install.dat vim/syntax/asciidoc.vim ${PKG}${SYS_DIR[share]}/vim/syntax +install.dat vim/ftdetect/asciidoc_filetype.vim \ + ${PKG}${SYS_DIR[share]}/vim/ftdetect/asciidoc.vim +install.dir ${PKG}${SYS_DIR[lib]}/python2.7/site-packages +install.dat asciidocapi.py ${PKG}${SYS_DIR[lib]}/python2.7/site-packages +} diff --git a/development/autotools/automake-1.14.1-noautoconfcheck.patch.xz b/development/autotools/automake-1.14.1-noautoconfcheck.patch.xz Binary files differnew file mode 100644 index 0000000..23c00ac --- /dev/null +++ b/development/autotools/automake-1.14.1-noautoconfcheck.patch.xz diff --git a/development/autotools/autotools.build b/development/autotools/autotools.build new file mode 100755 index 0000000..a50d31c --- /dev/null +++ b/development/autotools/autotools.build @@ -0,0 +1,132 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +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 <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: autotools (GNU build system) +${NAME}: +${NAME}: Scripts to automate various software build tasks. This package +${NAME}: includes the following components: +${NAME}: +${NAME}: autoconf, automake, libtool and intltool. +${NAME}: +${NAME}: Homepage: http://www.gnu.org +${NAME}: +${NAME}: +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +install_info() +{ + for file in "\${*}"; do + if [ -x usr/bin/install-info ]; then + usr/bin/install-info --info-dir=usr/share/info usr/share/info/\${file}.info.xz 2> /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 Binary files differnew file mode 100644 index 0000000..255e885 --- /dev/null +++ b/development/autotools/intltool-0.50.2-manfix.patch.xz 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 <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +binutils: binutils (GNU binary development tools) +binutils: +binutils: Binutils is a collection of binary utilities. It includes "as" (the +binutils: portable GNU assembler), "ld" (the GNU linker), and other utilities +binutils: for creating and working with binary programs. +binutils: +binutils: These utilities are REQUIRED to compile C, C++, Objective-C, Fortran, +binutils: and most other programming languages. +binutils: +binutils: +binutils: +EOF + +install -m644 -g0 -o0 binutils/ChangeLog binutils/NEWS binutils/README \ + $PKG/usr/doc/$NAME-$VERSION + +gzip -9nf \ + $PKG/usr/doc/$NAME-$VERSION/ChangeLog \ + $PKG/usr/doc/$NAME-$VERSION/NEWS \ + $PKG/usr/doc/$NAME-$VERSION/README + +# Away with the useless stuff +rm -f \ + $PKG/usr/man/man1/dlltool.1 \ + $PKG/usr/man/man1/nlmconv.1 \ + $PKG/usr/man/man1/windmc.1 \ + $PKG/usr/man/man1/windres.1 \ + $PKG/usr/man/man1/strings.1 \ + $PKG/usr/bin/strings \ + $PKG/usr/info/dir + +chmod 444 $PKG/usr/man/man?/*.? +gzip -9nf $PKG/usr/man/man?/*.? +chmod 444 $PKG/usr/info/*.info* +gzip -9nf $PKG/usr/info/*.info* + +install -m 0644 include/libiberty.h $PKG/usr/include + +mv $PKG/usr/$ARCH-slackware-linux/lib/ldscripts $PKG/usr/lib + +( + cd $PKG/usr/$ARCH-slackware-linux/lib + ln -sf /usr/lib/ldscripts . + cd $PKG/usr/$ARCH-slackware-linux/bin + for file in * ; do + if [ -r "/usr/bin/$file" ]; then + rm $file + ln -sf /usr/bin/$file . + fi + done +) + +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.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 <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=bison +VERSION=3.0 +BUILD=1 + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: bison (parser generator similar to yacc) +${NAME}: +${NAME}: GNU "Bison" is a general-purpose parser generator that converts a +${NAME}: grammar description for an LALR(1) context-free grammar into a C +${NAME}: program to parse that grammar. +${NAME}: +${NAME}: Bison is upward compatible with Yacc: all properly-written Yacc +${NAME}: grammars ought to work with Bison with no change. Anyone familiar +${NAME}: with Yacc should be able to use Bison with little trouble. +${NAME}: +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +install_info() +{ + for file in "\${*}"; do + if [ -x usr/bin/install-info ]; then + usr/bin/install-info --info-dir=usr/share/info usr/share/info/\${file}.info.xz 2> /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 Binary files differnew file mode 100644 index 0000000..ea12617 --- /dev/null +++ b/development/bluefish/bluefish-2.2.6-datarootdir.patch.xz diff --git a/development/bluefish/bluefish-2.2.6-gzipfix.patch.xz b/development/bluefish/bluefish-2.2.6-gzipfix.patch.xz Binary files differnew file mode 100644 index 0000000..24bd103 --- /dev/null +++ b/development/bluefish/bluefish-2.2.6-gzipfix.patch.xz 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 <ofni.sknuplatem@etaripd> + +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 <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: bluefish (web integrated development environment) +${NAME}: +${NAME}: A text editor that supports many programming and markup languages +${NAME}: designed for web developers. +${NAME}: +${NAME}: Homepage: http://bluefish.openoffice.nl +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +if [ ! -d etc/xml ]; then + mkdir -p etc/xml +fi + +if [ ! -e etc/xml/catalog ]; then + xmlcatalog --noout --create etc/xml/catalog +fi + +xmlcatalog --noout --add 'delegateURI' \ + 'http://bluefish.openoffice.nl/ns/bflang/2.0/' /usr/share/xml/bluefish \ + etc/xml/catalog + +if [ -x usr/bin/update-desktop-database ]; then + usr/bin/update-desktop-database -q +fi + +if [ -x usr/bin/gtk-update-icon-cache ]; then + usr/bin/gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +fi + +if [ -x usr/bin/update-mime-database ]; then + usr/bin/update-mime-database usr/share/mime > /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 Binary files differnew file mode 100644 index 0000000..caa625b --- /dev/null +++ b/development/cmake/cmake-2.8.11.2-paths.patch.xz diff --git a/development/cmake/cmake-2.8.11.2-pkgconfigfuckup.patch.xz b/development/cmake/cmake-2.8.11.2-pkgconfigfuckup.patch.xz Binary files differnew file mode 100644 index 0000000..954680f --- /dev/null +++ b/development/cmake/cmake-2.8.11.2-pkgconfigfuckup.patch.xz 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 <ofni.sknuplatem@etaripd> + +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 <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: CMake (A cross-platform make) +${NAME}: +${NAME}: CMake is used to control the software compilation process using +${NAME}: simple platform and compiler independent configuration files. CMake +${NAME}: generates native makefiles and workspaces that can be used in the +${NAME}: environment of your choice. CMake is quite sophisticated: it is +${NAME}: possible to support complex environments requiring system +${NAME}: configuration, pre-processor generation, code generation, and +${NAME}: template instantiation. +${NAME}: +${NAME}: Homepage: http://cmake.org +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://www.cmake.org/files/v${MAJOR}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="BSD3" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --prefix="${SYS_DIR[usr]}" \ + --docdir="/share/doc/${SRCNAME[0],,}-${SRCVERS[0]}" \ + --mandir="/share/man" \ + --datadir="/share/${NAME}" \ + --system-libs \ + --no-qt-gui +make ${JOBS} +make ${JOBS} +make install DESTDIR="${PKG}" +changelog ChangeLog.txt +# Documentation stuff +rm -f \ + ${DOC}/c*.txt \ + ${DOC}/*.docbook +install.dir ${PKG}${SYS_DIR[html]}/${SRCNAME[0]} +mv \ + ${DOC}/c*.html \ + ${PKG}${SYS_DIR[html]}/${SRCNAME[0]} +( + cd ${PKG}${SYS_DIR[share]}/cmake + ln -s ${SYS_DIR[include]}/${SRCNAME[0]} include +) +} diff --git a/development/dev86/dev86.SlackBuild b/development/dev86/dev86.SlackBuild new file mode 100755 index 0000000..f9658f0 --- /dev/null +++ b/development/dev86/dev86.SlackBuild @@ -0,0 +1,83 @@ +#!/bin/sh + +CWD=`pwd` +NAME=dev86 +VERSION=0.16.16 +ARCH=i586 +BUILD=1 +PKGNAME=Dev86src +PKGVER=$VERSION +BASEDIR=$NAME-$PKGVER +ARCHIVE=$PKGNAME-$PKGVER.tar.gz +REPOSITORY=http://www.cix.co.uk/~mayday/dev86 +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 +export CFLAGS="$FLAGS" +make <<EOF +quit +EOF + +# Install +mkdir -p $PKG/install $PKG/usr/doc/$NAME-$VERSION $PKG/usr/man/man1 \ + $PKG/usr/bin $PKG/usr/include/bcc $PKG/usr/lib/bcc +cat > $PKG/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' on +# the right side marks the last column you can put a character in. You must make +# exactly 11 lines for the formatting to be correct. It's also customary to +# leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +dev86: dev86 +dev86: +dev86: This is a development environment for ELKS-86 and standalone 8086 +dev86: code. +dev86: +dev86: +dev86: +dev86: +dev86: +dev86: +dev86: +EOF + +install -m644 -g0 -o0 Changes Contributors README \ + $PKG/usr/doc/$NAME-$VERSION + +install -m755 -g0 -o0 bin/* $PKG/usr/bin +install -m444 -g0 -o0 man/*.1 $PKG/usr/man/man1 +cp -r include/* $PKG/usr/include/bcc +cp -r lib/* $PKG/usr/lib/bcc + +chmod 444 $PKG/usr/man/man?/*.? +gzip -9nf $PKG/usr/man/man?/*.? + +strip $PKG/usr/bin/* ||: +strip $PKG/usr/lib/bcc/* ||: + +chown -R root.root $PKG +chgrp bin $PKG/usr/bin $PKG/usr/bin/* + +# 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.tgz diff --git a/development/dhex/dhex-0.68-makefile.patch.xz b/development/dhex/dhex-0.68-makefile.patch.xz Binary files differnew file mode 100644 index 0000000..8a14c4d --- /dev/null +++ b/development/dhex/dhex-0.68-makefile.patch.xz 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 <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=dhex +VERSION=0.68 +BUILD=2 + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: dhex (hex editor) +${NAME}: +${NAME}: dhex is more than just another hex editor. It includes a diff mode, +${NAME}: which can be used to easily and conveniently compare two binary +${NAME}: files. +${NAME}: +${NAME}: Homepage: http://www.dettus.net/dhex +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://www.dettus.net/${SRCNAME[0]}/${SRCNAME[0]}_${SRCVERS[0]}.tar.gz +SRCROOT[0]=${SRCNAME[0]}_${SRCVERS[0]} +SRCCOPY[0]="GPL2" + +build0() +{ +make ${JOBS} OPTFLAGS="${FLAGS}" +make install DESTDIR="${PKG}${SYS_DIR[usr]}" +doc README.txt +} diff --git a/development/diffutils/diffutils-3.3-sdiffnowaitpid.patch.xz b/development/diffutils/diffutils-3.3-sdiffnowaitpid.patch.xz Binary files differnew file mode 100644 index 0000000..80711ea --- /dev/null +++ b/development/diffutils/diffutils-3.3-sdiffnowaitpid.patch.xz diff --git a/development/diffutils/diffutils.build b/development/diffutils/diffutils.build new file mode 100755 index 0000000..ba3b991 --- /dev/null +++ b/development/diffutils/diffutils.build @@ -0,0 +1,99 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=diffutils +VERSION=3.3 +BUILD=3 + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: diffutils (finds differences between files) +${NAME}: +${NAME}: The GNU diff utilities finds differences between files. A major use +${NAME}: for this package is to make source code patches. +${NAME}: +${NAME}: Homepage: http://www.gnu.org/software/diffutils +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +install_info() +{ + for file in "\${*}"; do + if [ -x usr/bin/install-info ]; then + usr/bin/install-info --info-dir=usr/share/info usr/share/info/\${file}.info.xz 2> /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 Binary files differnew file mode 100644 index 0000000..e5a335f --- /dev/null +++ b/development/distcc/distcc-3.1-systemd.patch.xz 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 <ofni.sknuplatem@etaripd> + +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 <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: distcc (distributed C/C++ compiler/daemon) +${NAME}: +${NAME}: distcc allows compilation of C code to be distributed across several +${NAME}: machines on a network. distcc should always generate the same results +${NAME}: as a local compile, is simple to install and use, and is often +${NAME}: significantly faster than a local compile. +${NAME}: +${NAME}: IMPORTANT SECURITY NOTE: distccd should only run on trusted networks. +${NAME}: +${NAME}: distcc was written by Martin Pool. +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +config() { + NEW="\$1" + OLD="\$(dirname \$NEW)/\$(basename \$NEW .new)" + # If there's no config file by that name, mv it over: + if [ ! -r \$OLD ]; then + mv \$NEW \$OLD + elif [ "\$(cat \$OLD | md5sum)" = "\$(cat \$NEW | md5sum)" ]; then + # toss the redundant copy + rm \$NEW + fi + # Otherwise, we leave the .new copy for the admin to consider... +} + +config etc/conf.d/distccd.conf.new +config etc/distcc/clients.allow.new +config etc/distcc/commands.allow.sh.new +config etc/distcc/hosts.new +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://distcc.googlecode.com/files/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="GPL2" + +build0() +{ +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]}" \ + --disable-Werror \ + --with-gtk \ + --without-gnome \ + --without-avahi +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +config ${PKG}${SYS_DIR[etc]}/distcc/clients.allow +config ${PKG}${SYS_DIR[etc]}/distcc/commands.allow.sh +config ${PKG}${SYS_DIR[etc]}/distcc/hosts +install.dir ${PKG}${SYS_DIR[etc]}/conf.d +install.cfg distccd.conf.d ${PKG}${SYS_DIR[etc]}/conf.d/distccd.conf.new +install.dir ${PKG}${SYS_DIR[share]}/systemd/system +install.dat distccd.service ${PKG}${SYS_DIR[share]}/systemd/system +install.dir ${PKG}${SYS_DIR[share]}/applications +mv ${PKG}${SYS_DIR[share]}/distcc/distccmon-gnome.desktop ${PKG}${SYS_DIR[share]}/applications +install.dir ${PKG}${SYS_DIR[share]}/icons/hicolor/64x64/apps +mv ${PKG}${SYS_DIR[share]}/distcc/distccmon-gnome-icon.png ${PKG}${SYS_DIR[share]}/icons/hicolor/64x64/apps +# FIXME: We'll add pump and the include_server when we can do subpackages +rm -rf \ + ${PKG}${SYS_DIR[share]}/doc/${SRCNAME[0]} \ + ${PKG}${SYS_DIR[share]}/distcc \ + ${PKG}${SYS_DIR[bin]}/pump \ + ${PKG}${SYS_DIR[man]}/man?/{pump,include_server}.? \ + ${PKG}${SYS_DIR[lib]}64 \ + ${PKG}${SYS_DIR[etc]}/default +} diff --git a/development/docbook/docbook.build b/development/docbook/docbook.build new file mode 100755 index 0000000..9c73105 --- /dev/null +++ b/development/docbook/docbook.build @@ -0,0 +1,300 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +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 <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: docbook (a semantic markup language for technical documentation) +${NAME}: +${NAME}: It was originally intended for writing technical documents related to +${NAME}: computer hardware and software but it can be used for any other kind +${NAME}: of documentation. As a semantic language, DocBook enables it's users +${NAME}: to create document content in a presentation-neutral form that +${NAME}: captures the logical structure of the content; that content can then +${NAME}: be published in many formats, including HTML, XHTML, EPUB, PDF, man +${NAME}: pages, Web Help and HTML HELP, without requiring users to make any +${NAME}: changes to the source. +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +if [ -x /usr/bin/xmlcatalog ]; then + +if [ ! -e etc/xml/catalog ]; then + /usr/bin/xmlcatalog --noout --create etc/xml/catalog +else + /usr/bin/cp etc/xml/catalog etc/xml/catalog.orig + /usr/bin/xmlcatalog --del "file:///etc/xml/docbook" \ + etc/xml/catalog.orig > 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 Binary files differnew file mode 100644 index 0000000..04c08dc --- /dev/null +++ b/development/docbook/xmlto-0.0.25-elinks.patch.xz diff --git a/development/flex/flex-2.5.37-lex.patch.xz b/development/flex/flex-2.5.37-lex.patch.xz Binary files differnew file mode 100644 index 0000000..5858cc1 --- /dev/null +++ b/development/flex/flex-2.5.37-lex.patch.xz 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 <ofni.sknuplatem@etaripd> + +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 <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: flex (fast lexical analyzer generator) +${NAME}: +${NAME}: flex is a tool for generating programs that perform pattern matching +${NAME}: on text. flex is a rewrite of the AT&T Unix lex tool (the two +${NAME}: implementations do not share any code, though), with some extensions +${NAME}: (and incompatibilities). +${NAME}: +${NAME}: Homepage: http://flex.sf.net +${NAME}: +${NAME}: +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +install_info() +{ + for file in "\${*}"; do + if [ -x usr/bin/install-info ]; then + usr/bin/install-info --info-dir=usr/share/info usr/share/info/\${file}.info.xz 2> /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 <ofni.sknuplatem@etaripd> + +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 <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: gdb (the GNU symbolic debugger) +${NAME}: +${NAME}: GDB, the GNU debugger, allows you see what is going on inside another +${NAME}: program while it executes -- or what another program was doing at the +${NAME}: moment it crashed. GDB can do four main kinds of things to help you +${NAME}: catch bugs in the act: 1) Start your program, specifying anything +${NAME}: that might affect its behavior. 2) Make your program stop on +${NAME}: specified conditions. 3) xamine what has happened, when your program +${NAME}: has stopped. 4) Change things in your program, so you can experiment +${NAME}: with correcting the effects of one bug and go on to learn about +${NAME}: another. It supports C, C++, ObjC, Pascal and many other languages. +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +install_info() +{ + for file in "\${*}"; do + if [ -x usr/bin/install-info ]; then + usr/bin/install-info --info-dir=usr/share/info usr/share/info/\${file}.info.xz 2> /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 Binary files differnew file mode 100644 index 0000000..43365e9 --- /dev/null +++ b/development/gettext/gettext-0.18.2.1-pkglibdir.patch.xz 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 <ofni.sknuplatem@etaripd> + +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 <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: gettext (software localization utilities) +${NAME}: +${NAME}: Usually, programs are written and documented in English, and use +${NAME}: English at execution time for interacting with users. This package +${NAME}: offers a well integrated set of tools that provide a framework to +${NAME}: produce multi-lingual messages. +${NAME}: +${NAME}: Homepage: http://www.gnu.org/software/gettext +${NAME}: +${NAME}: +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +install_info() +{ + for file in "\${*}"; do + if [ -x usr/bin/install-info ]; then + usr/bin/install-info --info-dir=usr/share/info usr/share/info/\${file}.info.xz 2> /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 <ofni.sknuplatem@etaripd> + +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 <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: git (the stupid content tracker) +${NAME}: +${NAME}: Git is a fast, scalable, distributed revision control system with an +${NAME}: unusually rich command set that provides both high-level operations +${NAME}: and full access to internals. +${NAME}: +${NAME}: "git" can mean anything, depending on your mood. +${NAME}: +${NAME}: Git was originally written by Linus Torvalds and is currently +${NAME}: maintained by Junio C. Hamano. +${NAME}: +EOF + +# GIT should not be installed while building this package because there might +# be problems with installing some perl stuff + +# According to the Arch Linux build script, git depends also on 'perl-error'. +# It must be bundled with Slackware's perl? The following perl extensions are +# optional, but maybe we ought to add them to the perl package if they aren't +# there already. +# +# 'perl-libwww: git svn' +# 'perl-term-readkey: git svn' +# 'perl-mime-tools: git send-email' +# 'perl-net-smtp-ssl: git send-email TLS support' +# 'perl-authen-sasl: git send-email TLS support' +# 'cvsps: git cvsimport' + +# We'll re-add gik, git-gui and gitweb when we have subpackages + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://git-core.googlecode.com/files/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2 LGPL21" + +build0() +{ +CPPFLAGS="-I${SYS_DIR[include]}/pcre" \ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --prefix=/usr \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}/git" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --libexecdir="${SYS_DIR[lib]}/exec" \ + --datadir="${SYS_DIR[share]}/application-data" \ + --htmldir="${SYS_DIR[html]}/git" \ + --with-perl="${SYS_DIR[bin]}/perl" \ + --with-python="${SYS_DIR[bin]}/python" \ + --with-pager="${SYS_DIR[bin]}/less" \ + --with-editor="${SYS_DIR[bin]}/vim" \ + --with-openssl \ + --with-libpcre \ + --with-curl \ + --with-expat +#FIXME: use a default editor script instead of vim +make all html ${JOBS} V=1 \ + INSTALLDIRS="vendor" ASCIIDOC8="YesPlease" \ + NO_CROSS_DIRECTORY_HARDLINKS="1" \ + NO_INSTALL_HARDLINKS="1" +make install DESTDIR="${PKG}" \ + INSTALLDIRS="vendor" ASCIIDOC8="YesPlease" \ + NO_CROSS_DIRECTORY_HARDLINKS="1" \ + NO_INSTALL_HARDLINKS="1" +doc Documentation/RelNotes/${MAJOR}.*.txt +changelog Documentation/RelNotes/${SRCVERS[0]}.txt +install.dir ${PKG}${SYS_DIR[share]}/html/git/howto +install.dat Documentation/{user-manual,everyday,howto-index}.html ${PKG}${SYS_DIR[share]}/html/git +install.dat Documentation/docbook-xsl.css ${PKG}${SYS_DIR[share]}/html/git +install.dat Documentation/mailmap.txt ${PKG}${SYS_DIR[share]}/html/git +install.dat Documentation/howto/*.html ${PKG}${SYS_DIR[share]}/html/git/howto +install.dir ${PKG}${SYS_DIR[share]}/emacs/site-lisp +install.dat contrib/emacs/*.el ${PKG}${SYS_DIR[share]}/emacs/site-lisp +install.dir ${PKG}${SYS_DIR[share]}/bash-completion/completions +install.dat contrib/completion/git-completion.bash ${PKG}${SYS_DIR[share]}/bash-completion/completions/git +rm -rf \ + ${PKG}${SYS_DIR[lib]}/plugins \ + ${PKG}${SYS_DIR[bin]}/gitk \ + ${PKG}${SYS_DIR[share]}/{gitweb,gitk,git-gui} +} + +SRCNAME[1]=${NAME}-manpages +SRCVERS[1]=${VERSION} +SRCPACK[1]=http://git-core.googlecode.com/files/${SRCNAME[1]}-${SRCVERS[1]}.tar.gz +SRCOPTS[1]="nosrcroot" + +build1() +{ +install.dir ${PKG}${SYS_DIR[man]}/man{1,5,7} +install.man man1/*.1 ${PKG}${SYS_DIR[man]}/man1 +install.man man5/*.5 ${PKG}${SYS_DIR[man]}/man5 +install.man man7/*.7 ${PKG}${SYS_DIR[man]}/man7 +rm -rf ${PKG}${SYS_DIR[doc]}/git-manpages* +} diff --git a/development/glade/glade.SlackBuild b/development/glade/glade.SlackBuild new file mode 100755 index 0000000..81d3c60 --- /dev/null +++ b/development/glade/glade.SlackBuild @@ -0,0 +1,105 @@ +#!/bin/sh + +CWD=`pwd` +NAME=glade +VERSION=3.7.1 +ARCH=i586 +BUILD=1 +PKGNAME=${NAME}3 +PKGVER=$VERSION +BASEDIR=$PKGNAME-$PKGVER +ARCHIVE=$BASEDIR.tar.bz2 +REPOSITORY=http://ftp.gnome.org/pub/GNOME/sources/${PKGNAME}/3.7 +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 jxvf $CWD/$ARCHIVE +cd $BASEDIR +CFLAGS=$FLAGS CXXFLAGS=$FLAGS ./configure \ + --build=${ARCH}-slackware-linux \ + --disable-silent-rules \ + --disable-dependency-tracking \ + --enable-static=no \ + --enable-shared=yes \ + --enable-debug=no \ + --prefix=/usr \ + --mandir=/usr/man \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --with-html-dir=/usr/share/html \ + --disable-scrollkeeper \ + --disable-python \ + --disable-gnome +make V=1 + +# Install +make install DESTDIR=$PKG +mkdir -p $PKG/install $PKG/usr/doc/$NAME-$VERSION $PKG/usr/lib +cat > $PKG/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +glade: glade (a user interface designer) +glade: +glade: Glade is a RAD tool to enable quick & easy development of user +glade: interfaces for the GTK+ toolkit. The user interfaces designed in +glade: Glade are saved as XML, and by using the GtkBuilder GTK+ object +glade: these can be loaded by applications dynamically as needed. By using +glade: GtkBuilder, Glade XML files can be used in numerous programming +glade: languages including C, C++, C#, Vala, Java, Perl, Python and others. +glade: +glade: Homepage: http://glade.gnome.org +glade: +EOF + +cat > $PKG/install/slack-required <<EOF +gtk+ >= 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 <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=gperf +VERSION=3.0.4 +BUILD=1 + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: gperf (a perfect hash function generator) +${NAME}: +${NAME}: gperf is a perfect hash function generator written in C++. It +${NAME}: transforms an n element user-specified keyword set W into a perfect +${NAME}: hash function F. gperf currently generates the reserved keyword +${NAME}: recognizer for lexical analyzers in several production and research +${NAME}: compilers and language processing tools, including GNU C, GNU C++, +${NAME}: GNU Java, GNU Pascal, GNU Modula 3, and GNU indent. +${NAME}: +${NAME}: gperf was written by by Douglas C. Schmidt and Bruno Haible. +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +install_info() +{ + for file in "\${*}"; do + if [ -x usr/bin/install-info ]; then + usr/bin/install-info --info-dir=usr/share/info usr/share/info/\${file}.info.xz 2> /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 <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=gtk_doc +VERSION=1.18 +BUILD=1 + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: gtk_doc +${NAME}: +${NAME}: A tool to document C code. It is typically used to document the +${NAME}: public API of libraries but it can also be used to document +${NAME}: application code. It has some special code to document the signals +${NAME}: and properties of GTK+ widgets and GObject classes which other +${NAME}: tools may not have. +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=gtk-doc +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[gnome]}/${SRCNAME[0]}/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="GPL3 FDL11" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --enable-static=no \ + --enable-shared=yes \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +} diff --git a/development/icon_naming_utils/icon-naming-utils-0.8.90-gtkonlyandupdates.patch.xz b/development/icon_naming_utils/icon-naming-utils-0.8.90-gtkonlyandupdates.patch.xz Binary files differnew file mode 100644 index 0000000..dbac516 --- /dev/null +++ b/development/icon_naming_utils/icon-naming-utils-0.8.90-gtkonlyandupdates.patch.xz diff --git a/development/icon_naming_utils/icon_naming_utils.build b/development/icon_naming_utils/icon_naming_utils.build new file mode 100755 index 0000000..45feaf0 --- /dev/null +++ b/development/icon_naming_utils/icon_naming_utils.build @@ -0,0 +1,59 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +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 <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: icon_naming_utils (generate icon files for your DE) +${NAME}: +${NAME}: A script for maintaining backwards compatibility with current +${NAME}: desktop icon themes, while migrating to names specified in the Icon +${NAME}: Naming Specification. +${NAME}: +${NAME}: Homepage: http://tango.freedesktop.org +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=icon-naming-utils +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://tango.freedesktop.org/releases/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="GPL2" + +build0() +{ +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]}" \ + --libexecdir="${SYS_DIR[share]}/icon-naming-utils" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog ChangeLog +} diff --git a/development/indent/indent-2.2.11-decimalformat.patch.xz b/development/indent/indent-2.2.11-decimalformat.patch.xz Binary files differnew file mode 100644 index 0000000..607bd44 --- /dev/null +++ b/development/indent/indent-2.2.11-decimalformat.patch.xz diff --git a/development/indent/indent-2.2.11-docfix.patch.xz b/development/indent/indent-2.2.11-docfix.patch.xz Binary files differnew file mode 100644 index 0000000..8e04e0d --- /dev/null +++ b/development/indent/indent-2.2.11-docfix.patch.xz diff --git a/development/indent/indent-2.2.11-lcall.patch.xz b/development/indent/indent-2.2.11-lcall.patch.xz Binary files differnew file mode 100644 index 0000000..18c4fe8 --- /dev/null +++ b/development/indent/indent-2.2.11-lcall.patch.xz diff --git a/development/indent/indent-2.2.11-nohtml.patch.xz b/development/indent/indent-2.2.11-nohtml.patch.xz Binary files differnew file mode 100644 index 0000000..c0a91ed --- /dev/null +++ b/development/indent/indent-2.2.11-nohtml.patch.xz diff --git a/development/indent/indent-2.2.11-segfault.patch.xz b/development/indent/indent-2.2.11-segfault.patch.xz Binary files differnew file mode 100644 index 0000000..918fc67 --- /dev/null +++ b/development/indent/indent-2.2.11-segfault.patch.xz diff --git a/development/indent/indent.build b/development/indent/indent.build new file mode 100755 index 0000000..1298aff --- /dev/null +++ b/development/indent/indent.build @@ -0,0 +1,77 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=indent +VERSION=2.2.11 +BUILD=1 + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: indent (changes the appearance of a C program) +${NAME}: +${NAME}: GNU indent changes the appearance of a C program by inserting or +${NAME}: deleting whitespace according to a plethora of options. Some canned +${NAME}: styles of formatting (like the GNU style, Kernighan & Ritchie style, +${NAME}: and original Berkeley style) are supported as well. +${NAME}: +${NAME}: GNU indent is a descendant of BSD indent. +${NAME}: +${NAME}: Homepage: http://www.gnu.org/software/indent +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +install_info() +{ + for file in "\${*}"; do + if [ -x usr/bin/install-info ]; then + usr/bin/install-info --info-dir=usr/share/info usr/share/info/\${file}.info.xz 2> /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 Binary files differnew file mode 100644 index 0000000..f04d854 --- /dev/null +++ b/development/ldc/ldc-20120620-bashcompletioninstall.patch.xz 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 <ofni.sknuplatem@etaripd> + +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 <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: ldc (D compiler) +${NAME}: +${NAME}: A D compiler based on the LLVM compiler infrastructure and on the +${NAME}: Digital Mars D (DMD) compiler frontend. Also included are the D and +${NAME}: Phobos runtime libraries. +${NAME}: +${NAME}: Homepage: http://dlang.org +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="BSD3" + +build0() +{ +( +install.dir build +cd build +cmake \ + -DCMAKE_C_FLAGS:STRING="${FLAGS}" \ + -DCMAKE_CXX_FLAGS:STRING="${FLAGS}" \ + -DCMAKE_VERBOSE_MAKEFILE:BOOL="on" \ + -DCMAKE_INSTALL_PREFIX:PATH="/usr" \ + -DLIB_SUFFIX:STRING="64" \ + -DINCLUDE_INSTALL_DIR:STRING="/usr/include/d/std-ldc" \ + -DSYSCONF_INSTALL_DIR:STRING="/etc/ldc" \ + -DBASHCOMPLETION_INSTALL_DIR:STRING="${SYS_DIR[bashcompletiondir]}" \ + -DBUILD_SHARED_LIBS:BOOL="on" \ +.. +make ${JOBS} +make install DESTDIR="${PKG}" +) +mv \ + ${PKG}${SYS_DIR[bashcompletiondir]}/ldc \ + ${PKG}${SYS_DIR[bashcompletiondir]}/ldc-bash-completion.sh +} diff --git a/development/llvm/llvm-3.3-clangcindexerpath.patch.xz b/development/llvm/llvm-3.3-clangcindexerpath.patch.xz Binary files differnew file mode 100644 index 0000000..3630524 --- /dev/null +++ b/development/llvm/llvm-3.3-clangcindexerpath.patch.xz diff --git a/development/llvm/llvm-3.3-clanginstall.patch.xz b/development/llvm/llvm-3.3-clanginstall.patch.xz Binary files differnew file mode 100644 index 0000000..07ef58c --- /dev/null +++ b/development/llvm/llvm-3.3-clanginstall.patch.xz diff --git a/development/llvm/llvm-3.3-docs.patch.xz b/development/llvm/llvm-3.3-docs.patch.xz Binary files differnew file mode 100644 index 0000000..bef1685 --- /dev/null +++ b/development/llvm/llvm-3.3-docs.patch.xz diff --git a/development/llvm/llvm-3.3-timestamp.patch.xz b/development/llvm/llvm-3.3-timestamp.patch.xz Binary files differnew file mode 100644 index 0000000..b63edba --- /dev/null +++ b/development/llvm/llvm-3.3-timestamp.patch.xz diff --git a/development/llvm/llvm.build b/development/llvm/llvm.build new file mode 100755 index 0000000..9995b32 --- /dev/null +++ b/development/llvm/llvm.build @@ -0,0 +1,145 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=llvm +VERSION=3.3 +BUILD=1 +DEPENDS=('libraries >= 20130606-1') + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: llvm (The Low Level Virtual Machine) +${NAME}: +${NAME}: LLVM is a compiler infrastructure designed for compile-time, +${NAME}: link-time, runtime, and idle-time optimization of programs from +${NAME}: arbitrary programming languages. +${NAME}: +${NAME}: This package includes 'clang', a C, C++, Objective C and Objective +${NAME}: C++ frontend for the LLVM compiler. +${NAME}: +${NAME}: Homepage: http://llvm.org +${NAME}: +EOF + +PYTHONSITEDIR="${SYS_DIR[lib]}/python2.7/site-packages" + +# Sources + +SRCNAME[0]=cfe +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://llvm.org/releases/${SRCNAME[0]}-${SRCVERS[0]}.src.tar.gz +SRCROOT[0]=${NAME}-${VERSION}.src +SRCOPTS[0]="nosrcroot" + +build0() +{ + install.dir tools + mv cfe-${VERSION}.src tools/clang +} + +SRCNAME[1]=compiler-rt +SRCVERS[1]=${VERSION} +SRCPACK[1]=http://llvm.org/releases/${SRCNAME[1]}-${SRCVERS[1]}.src.tar.gz +SRCROOT[1]=${NAME}-${VERSION}.src +SRCOPTS[1]="nosrcroot" + +build1() +{ + install.dir projects + mv compiler-rt-${VERSION}.src projects/compiler-rt +} + +SRCNAME[2]=${NAME} +SRCVERS[2]=${VERSION} +SRCPACK[2]=http://llvm.org/releases/${SRCNAME[2]}-${SRCVERS[2]}.src.tar.gz +SRCROOT[2]=${NAME}-${VERSION}.src + +build2() +{ +# Fix insecure rpath +sed -i 's|$(RPATH) -Wl,$(\(ToolDir\|LibDir\|ExmplDir\))||g' Makefile.rules +#FIXME: convert to CMake one of these days +CPPFLAGS="$(pkg-config --cflags libffi)" \ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-expensive-checks \ + --disable-debug-runtime \ + --disable-assertions \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-binutils-include="${SYS_DIR[usr]}/include" \ + --with-udis86="${SYS_DIR[usr]}" \ + --with-python="${SYS_DIR[bin]}/python2" \ + --disable-docs \ + --disable-expensive-checks \ + --disable-debug-runtime \ + --disable-assertions \ + --enable-experimental-targets="R600" \ + --enable-shared \ + --enable-optimized \ + --enable-libffi \ + --enable-bindings=none \ + --enable-targets=all +make ${JOBS} VERBOSE=1 REQUIRES_RTTI=1 +make install DESTDIR="${PKG}" +doc CREDITS.TXT +license LICENSE.TXT +# GCC headers +( + cd ${PKG}${SYS_DIR[lib]}/clang/${SRCVERS[2]} + ln -s ${SYS_DIR[lib]}64/gcc/x86_64-slackware-linux/4.8.0/include + ln -s ${SYS_DIR[lib]}64/gcc/x86_64-slackware-linux/4.8.0/include-fixed +) +# LTO +#FIXME: lib64 +install.dir ${PKG}${SYS_DIR[lib]}64/bfd-plugins +( + cd ${PKG}${SYS_DIR[lib]}64/bfd-plugins + ln -sf ${SYS_DIR[lib]}/LLVMgold.so +) +#FIXME Where is LLVMgold.so? +# Clean up cruft +rm -f \ + ${PKG}${SYS_DIR[lib]}/*LLVMHello.* \ + ${PKG}${SYS_DIR[html]} +chmod -x ${PKG}${SYS_DIR[lib]}/*.a +#FIXME: this should end up in a subpackage +# Install also the clang-analyzer +install.dir ${PKG}${PYTHONSITEDIR}/clang-analyzer +for f in scan-{build,view}; do + cp -r tools/clang/tools/${f} ${PKG}${PYTHONSITEDIR}/clang-analyzer + ln -s ${PYTHONSITEDIR}/clang-analyzer/${f}/${f} ${PKG}${SYS_DIR[bin]}/${f} +done +install.dir ${PKG}${SYS_DIR[man]}/man1 +install.man tools/clang/tools/scan-build/scan-build.1 ${PKG}${SYS_DIR[man]}/man1 +rm -f ${PKG}${PYTHONSITEDIR}/clang-analyzer/scan-build/scan-build.{1,bat} +( + cd ${PKG}${PYTHONSITEDIR}/clang-analyzer/scan-build + ln -sf ${SYS_DIR[bin]}/clang +) +# Use Python 2 +sed -i \ + -e 's|env python$|&2|' \ + -e 's|/usr/bin/python$|&2|' \ + "${PKG}${PYTHONSITEDIR}/clang-analyzer/scan-view/scan-view" \ + "${PKG}${PYTHONSITEDIR}/clang-analyzer/scan-build/set-xcode-analyzer" +# Compile Python scripts +python2 -m compileall "${PKG}${PYTHONSITEDIR}/clang-analyzer" +python2 -O -m compileall "${PKG}${PYTHONSITEDIR}/clang-analyzer" +} diff --git a/development/llvm_lua/llvm_lua-1.3.1-libdir.patch.xz b/development/llvm_lua/llvm_lua-1.3.1-libdir.patch.xz Binary files differnew file mode 100644 index 0000000..f64f42a --- /dev/null +++ b/development/llvm_lua/llvm_lua-1.3.1-libdir.patch.xz diff --git a/development/llvm_lua/llvm_lua.build b/development/llvm_lua/llvm_lua.build new file mode 100755 index 0000000..c60e403 --- /dev/null +++ b/development/llvm_lua/llvm_lua.build @@ -0,0 +1,69 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +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 <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: llvm_lua (LUA compiler and interpreter) +${NAME}: +${NAME}: Lua is a powerful light-weight programming language designed for +${NAME}: extending applications. Lua is also frequently used as a +${NAME}: general-purpose, stand-alone language. +${NAME}: +${NAME}: Homepage: http://code.google.com/p/llvm-lua +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://llvm-lua.googlecode.com/files/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz + +build0() +{ +cmake \ + -DCMAKE_VERBOSE_MAKEFILE:BOOL="on" \ + -DCMAKE_BUILD_TYPE:STRING="Release" \ + -DCMAKE_CXX_FLAGS:STRING="${FLAGS}" \ + -DCMAKE_C_FLAGS:STRING="${FLAGS}" \ + -DCMAKE_INSTALL_PREFIX:PATH="/usr" \ + -DLIB_INSTALL_DIR:PATH="lib$(libdirsuffix)" \ + -DWANT_SHARED_LIBRARY:BOOL="on" \ + -DWANT_STATIC_LIBRARY:BOOL="on" \ + -DLUA_ANSI:BOOL="off" \ + -DLUA_CPP_SUPPORT:BOOL="off" \ + -DLUA_USE_APICHECK:BOOL="off" \ + -DLUA_USE_CURSES:BOOL="on" \ + -DLUA_USE_DLOPEN:BOOL="on" \ + -DLUA_USE_ISATTY:BOOL="on" \ + -DLUA_USE_MKSTEMP:BOOL="on" \ + -DLUA_USE_POPEN:BOOL="on" \ + -DLUA_USE_READLINE:BOOL="on" \ + -DLUA_USE_ULONGJMP:BOOL="on" \ +CMakeLists.txt +make -j 2 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog ChangeLog +license COPYRIGHT +} diff --git a/development/lua/lua-5.2.2-license.patch.xz b/development/lua/lua-5.2.2-license.patch.xz Binary files differnew file mode 100644 index 0000000..9c35d93 --- /dev/null +++ b/development/lua/lua-5.2.2-license.patch.xz diff --git a/development/lua/lua-5.2.2-pkgconfig.patch.xz b/development/lua/lua-5.2.2-pkgconfig.patch.xz Binary files differnew file mode 100644 index 0000000..fda48d2 --- /dev/null +++ b/development/lua/lua-5.2.2-pkgconfig.patch.xz diff --git a/development/lua/lua-5.2.2-shared.patch.xz b/development/lua/lua-5.2.2-shared.patch.xz Binary files differnew file mode 100644 index 0000000..10bbea1 --- /dev/null +++ b/development/lua/lua-5.2.2-shared.patch.xz diff --git a/development/lua/lua.build b/development/lua/lua.build new file mode 100755 index 0000000..3ab3ee5 --- /dev/null +++ b/development/lua/lua.build @@ -0,0 +1,62 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=lua +MAJOR=5.2 +VERSION=${MAJOR}.2 +BUILD=1 + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: lua +${NAME}: +${NAME}: A fast, lightweight, embeddable scripting language. Lua combines +${NAME}: procedural syntax with powerful data description constructs based on +${NAME}: associative arrays and extensible semantics. Lua is dynamically +${NAME}: typed, runs by interpreting bytecode for a register-based virtual +${NAME}: machine, and has automatic memory management with incremental garbage +${NAME}: collection, making it ideal for configuration scripting, and rapid +${NAME}: prototyping. +${NAME}: +${NAME}: Homepage: http://www.lua.org +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://www.lua.org/ftp/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="MIT" + +build0() +{ +make ${JOBS} MYCFLAGS="${FLAGS} -fPIC" linux +make install \ + INSTALL_TOP="${PKG}${SYS_DIR[usr]}" \ + INSTALL_INC="${PKG}${SYS_DIR[include]}/lua" \ + INSTALL_LIB="${PKG}${SYS_DIR[lib]}" \ + INSTALL_LMOD="${PKG}${SYS_DIR[share]}/lua/${MAJOR}" \ + INSTALL_CMOD="${PKG}${SYS_DIR[lib]}/plugins/lua/${MAJOR}" \ + INSTALL_MAN="${PKG}${SYS_DIR[man]}/man1" +sed -i "s|@MAJOR@|${MAJOR}|g;s|@VERSION@|${VERSION}|g" lua.pc +install.dir ${PKG}${SYS_DIR[share]}/pkgconfig +install.dat lua.pc ${PKG}${SYS_DIR[share]}/pkgconfig +license LICENSE +#install.dir ${PKG}${SYS_DIR[share]}/html/lua +#install.dat doc/*.{html,css,png,gif} ${PKG}${SYS_DIR[share]}/html/lua +rm -rf \ + ${PKG}${SYS_DIR[lib]}/plugins \ + ${PKG}${SYS_DIR[share]}/lua +} diff --git a/development/m4/m4.build b/development/m4/m4.build new file mode 100755 index 0000000..2dbc517 --- /dev/null +++ b/development/m4/m4.build @@ -0,0 +1,77 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=m4 +VERSION=1.4.16 +BUILD=2 + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: m4 (an implementation of the UNIX macro processor) +${NAME}: +${NAME}: This is GNU m4, a program which copies its input to the output, +${NAME}: expanding macros as it goes. m4 has built-in functions for including +${NAME}: named files, running commands, doing integer arithmetic, manipulating +${NAME}: text in various ways, recursion, etc... Macros can also be user- +${NAME}: defined, and can take any number of arguments. +${NAME}: +${NAME}: GNU 'm4' was originally written by Rene Seindal, from Denmark. +${NAME}: +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +install_info() +{ + for file in "\${*}"; do + if [ -x usr/bin/install-info ]; then + usr/bin/install-info --info-dir=usr/share/info usr/share/info/\${file}.info.xz 2> /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 Binary files differnew file mode 100644 index 0000000..2058f22 --- /dev/null +++ b/development/make/make-3.82-bug30612.patch.xz diff --git a/development/make/make-3.82-bug30723.patch.xz b/development/make/make-3.82-bug30723.patch.xz Binary files differnew file mode 100644 index 0000000..5612295 --- /dev/null +++ b/development/make/make-3.82-bug30723.patch.xz diff --git a/development/make/make-3.82-dontpruneintermediate.patch.xz b/development/make/make-3.82-dontpruneintermediate.patch.xz Binary files differnew file mode 100644 index 0000000..08d01e3 --- /dev/null +++ b/development/make/make-3.82-dontpruneintermediate.patch.xz diff --git a/development/make/make-3.82-expensiveglob.patch.xz b/development/make/make-3.82-expensiveglob.patch.xz Binary files differnew file mode 100644 index 0000000..e29a538 --- /dev/null +++ b/development/make/make-3.82-expensiveglob.patch.xz diff --git a/development/make/make-3.82-makeflags.patch.xz b/development/make/make-3.82-makeflags.patch.xz Binary files differnew file mode 100644 index 0000000..b7bc59d --- /dev/null +++ b/development/make/make-3.82-makeflags.patch.xz diff --git a/development/make/make-3.82-sortblank.patch.xz b/development/make/make-3.82-sortblank.patch.xz Binary files differnew file mode 100644 index 0000000..709d8d5 --- /dev/null +++ b/development/make/make-3.82-sortblank.patch.xz 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 <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=make +VERSION=3.82 +BUILD=2 + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: make (GNU make utility to maintain groups of programs) +${NAME}: +${NAME}: This is the GNU implementation of make, which was written by Richard +${NAME}: Stallman and Roland McGrath. The purpose of the make utility is to +${NAME}: determine automatically which pieces of a large program need to be +${NAME}: recompiled, and issue the commands to recompile them. +${NAME}: +${NAME}: This is needed to compile just about any major C program, including +${NAME}: the Linux kernel. +${NAME}: +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +install_info() +{ + for file in "\${*}"; do + if [ -x usr/bin/install-info ]; then + usr/bin/install-info --info-dir=usr/share/info usr/share/info/\${file}.info.xz 2> /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 Binary files differnew file mode 100644 index 0000000..b8bd1c7 --- /dev/null +++ b/development/mariadb/mariadb-5.5.30-etcdir.patch.xz diff --git a/development/mariadb/mariadb-5.5.30-service.patch.xz b/development/mariadb/mariadb-5.5.30-service.patch.xz Binary files differnew file mode 100644 index 0000000..37f10cb --- /dev/null +++ b/development/mariadb/mariadb-5.5.30-service.patch.xz diff --git a/development/mariadb/mariadb-5.5.30-sysconfdir.patch.xz b/development/mariadb/mariadb-5.5.30-sysconfdir.patch.xz Binary files differnew file mode 100644 index 0000000..00fd94f --- /dev/null +++ b/development/mariadb/mariadb-5.5.30-sysconfdir.patch.xz diff --git a/development/mariadb/mariadb-5.5.30-sysvinit.patch.xz b/development/mariadb/mariadb-5.5.30-sysvinit.patch.xz Binary files differnew file mode 100644 index 0000000..04d626d --- /dev/null +++ b/development/mariadb/mariadb-5.5.30-sysvinit.patch.xz diff --git a/development/mariadb/mariadb-5.5.30-tmpfilesd.patch.xz b/development/mariadb/mariadb-5.5.30-tmpfilesd.patch.xz Binary files differnew file mode 100644 index 0000000..052c8fb --- /dev/null +++ b/development/mariadb/mariadb-5.5.30-tmpfilesd.patch.xz 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 <ofni.sknuplatem@etaripd> + +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 <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: mariadb (relational database server) +${NAME}: +${NAME}: A true multi-user, multi-threaded SQL database server which is +${NAME}: a backward compatible, drop-in replacement of the MySQL database +${NAME}: server. It includes all major open source storage engines, including +${NAME}: the Aria storage engine. +${NAME}: +${NAME}: Homepage: http://mariadb.org +${NAME}: +${NAME}: +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +config() { + NEW="\$1" + OLD="\$(dirname \$NEW)/\$(basename \$NEW .new)" + # If there's no config file by that name, mv it over: + if [ ! -r \$OLD ]; then + mv \$NEW \$OLD + elif [ "\$(cat \$OLD | md5sum)" = "\$(cat \$NEW | md5sum)" ]; then + # toss the redundant copy + rm \$NEW + fi + # Otherwise, we leave the .new copy for the admin to consider... +} + +# If the mariadb user and group do not exist, add them + +if grep "^mariadb:x:" etc/passwd 1> /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 <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=patch +VERSION=2.7.1 +BUILD=2 + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: patch (apply a diff file to an original file or files) +${NAME}: +${NAME}: Patch is a utility used to apply diffs (or patches) to files, which +${NAME}: are usually source code. +${NAME}: +${NAME}: Larry Wall wrote the original version of patch. Paul Eggert removed +${NAME}: patch's arbitrary limits; added support for binary files, setting +${NAME}: file times, and deleting files; and made it conform better to POSIX. +${NAME}: Other contributors include Wayne Davison, who added unidiff support, +${NAME}: and David MacKenzie, who added configuration and backup support. +${NAME}: +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 \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +} diff --git a/development/perl/perl-5.18.0-profiled.patch.xz b/development/perl/perl-5.18.0-profiled.patch.xz Binary files differnew file mode 100644 index 0000000..f9ba563 --- /dev/null +++ b/development/perl/perl-5.18.0-profiled.patch.xz diff --git a/development/perl/perl.build b/development/perl/perl.build new file mode 100755 index 0000000..d910649 --- /dev/null +++ b/development/perl/perl.build @@ -0,0 +1,126 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +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 <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: perl (Practical Extraction and Report Language) +${NAME}: +${NAME}: Larry Wall's "Practical Extraction and Report Language". Perl is a +${NAME}: language optimized for scanning arbitrary text files, extracting +${NAME}: information from those text files, and printing reports based on that +${NAME}: information. It's also a good language for many system management +${NAME}: tasks. The language is intended to be practical (easy to use, +${NAME}: efficient, complete) rather than beautiful (tiny, elegant, minimal). +${NAME}: +${NAME}: Homepage: http://www.perl.org +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://www.cpan.org/src/${MAJOR}.0/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL1 ARTISTIC-PERL" + +build0() +{ +case "$(uname -m)" in + x86) + ARCH_OPTS="" + ;; + x86_64) + ARCH_OPTS="-Dcccdlflags='-fPIC'" + ;; +esac +./Configure \ + -Doptimize="${FLAGS}" \ + -Dlddlflags="-shared ${LDFLAGS}" \ + -Uldflags="${LDFLAGS}" \ + -Dusethreads \ + -Duseithreads \ + -Duseshrplib \ + -Ubincompat5005 \ + -Dprefix="${SYS_DIR[usr]}" \ + -Dvendorprefix="${SYS_DIR[usr]}" \ + -Dsiteprefix="${SYS_DIR[usr]}/local" \ + -Dprivlib="${SYS_DIR[share]}/perl/${MAJOR}" \ + -Darchlib="${SYS_DIR[lib]}/plugins/perl/${MAJOR}" \ + -Dscriptdir="${SYS_DIR[lib]}/exec/perl/${MAJOR}" \ + -Dvendorlib="${SYS_DIR[share]}/perl/${MAJOR}" \ + -Dvendorarch="${SYS_DIR[lib]}/plugins/perl/${MAJOR}" \ + -Dvendorscript="${SYS_DIR[lib]}/exec/perl/${MAJOR}" \ + -Dsitearch="${SYS_DIR[usr]}/local/lib/plugins/perl/${MAJOR}" \ + -Dsitelib="${SYS_DIR[usr]}/local/share/perl/${MAJOR}" \ + -Dsitescript="${SYS_DIR[usr]}/local/lib/exec/perl/${MAJOR}" \ + -Dinc_version_list="none" \ + -Dman1ext="1" \ + -Dman3ext="3" \ + -Dpager="/usr/bin/less -isr" \ + -des \ + ${ARCH_OPTS} +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +install.dir ${PKG}${SYS_DIR[etc]}/profile.d +install.bin perl.{sh,csh} ${PKG}${SYS_DIR[etc]}/profile.d +( + cd ${PKG}${SYS_DIR[lib]} + ln -sf ${SYS_DIR[lib]}/plugins/perl/${MAJOR}/CORE/libperl.so +) +( + cd ${PKG}${SYS_DIR[bin]} + ln -sf perl${VERSION} perl +) +( + cd ${PKG}${SYS_DIR[lib]}/exec/perl/${MAJOR} + ln -sf c2ph pstruct + ln -sf s2p psed +) +( + cd ${PKG}${SYS_DIR[man]}/man1 + echo ".so man1/c2ph.1" > 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 <ofni.sknuplatem@etaripd> + +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 <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: perl_xmlparser +${NAME}: +${NAME}: The XML::Parser PERL extension. +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=XML-Parser +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="ARTISTIC-PERL" + +build0() +{ +perl Makefile.PL INSTALLDIRS=vendor +make ${JOBS} +make install DESTDIR="${PKG}" +changelog Changes +# Cleanup +find ${PKG} -perm 444 -exec chmod 644 {} \; +find ${PKG} -perm 555 -exec chmod 755 {} \; +find ${PKG} -name 'perllocal.pod' -delete +find ${PKG} -name '.packlist' -delete +} diff --git a/development/php/php-5.4.15-apachecfg.patch.xz b/development/php/php-5.4.15-apachecfg.patch.xz Binary files differnew file mode 100644 index 0000000..d186deb --- /dev/null +++ b/development/php/php-5.4.15-apachecfg.patch.xz diff --git a/development/php/php-5.4.15-apachehack.patch.xz b/development/php/php-5.4.15-apachehack.patch.xz Binary files differnew file mode 100644 index 0000000..0d2b1ef --- /dev/null +++ b/development/php/php-5.4.15-apachehack.patch.xz diff --git a/development/php/php-5.4.15-phpfpm.patch.xz b/development/php/php-5.4.15-phpfpm.patch.xz Binary files differnew file mode 100644 index 0000000..271a7e7 --- /dev/null +++ b/development/php/php-5.4.15-phpfpm.patch.xz diff --git a/development/php/php-5.4.15-phpini.patch.xz b/development/php/php-5.4.15-phpini.patch.xz Binary files differnew file mode 100644 index 0000000..ac2259c --- /dev/null +++ b/development/php/php-5.4.15-phpini.patch.xz diff --git a/development/php/php-5.4.15-sessionclean.patch.xz b/development/php/php-5.4.15-sessionclean.patch.xz Binary files differnew file mode 100644 index 0000000..30ec073 --- /dev/null +++ b/development/php/php-5.4.15-sessionclean.patch.xz diff --git a/development/php/php-5.4.15-tmpfilesd.patch.xz b/development/php/php-5.4.15-tmpfilesd.patch.xz Binary files differnew file mode 100644 index 0000000..a37d432 --- /dev/null +++ b/development/php/php-5.4.15-tmpfilesd.patch.xz diff --git a/development/php/php.build b/development/php/php.build new file mode 100755 index 0000000..70c85e5 --- /dev/null +++ b/development/php/php.build @@ -0,0 +1,250 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +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 <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: php (HTML-embedded scripting language) +${NAME}: +${NAME}: PHP is an HTML-embedded scripting language. It shares syntax +${NAME}: characteristics with C, Java, and Perl. The primary objective behind +${NAME}: this language is to make a fast and easy-to-use scripting language +${NAME}: for dynamic web sites. +${NAME}: +${NAME}: More information can be found online at http://www.php.net +${NAME}: +${NAME}: +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +config() { + NEW="\$1" + OLD="\$(dirname \$NEW)/\$(basename \$NEW .new)" + # If there's no config file by that name, mv it over: + if [ ! -r \$OLD ]; then + mv \$NEW \$OLD + elif [ "\$(cat \$OLD | md5sum)" = "\$(cat \$NEW | md5sum)" ]; then + # toss the redundant copy + rm \$NEW + fi + # Otherwise, we leave the .new copy for the admin to consider... +} + +# Create php-fpm's run directory if it isn't there + +if [ -d run/php-fpm ]; then + install -m 0755 -d run/php-fpm +fi + +# Keep same perms on rc.php-fpm.new + +if [ -e etc/rc.d/rc.php-fpm ]; then + cp -a etc/rc.d/rc.php-fpm etc/rc.d/rc.php-fpm.new.incoming + cat etc/rc.d/rc.php-fpm.new > 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 Binary files differnew file mode 100644 index 0000000..03879b1 --- /dev/null +++ b/development/php_apc/APC-3.1.13-config.patch.xz 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 <ofni.sknuplatem@etaripd> + +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 <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: php_apc (alternative PHP cache) +${NAME}: +${NAME}: APC provides a way of boosting performance of PHP on heavily loaded +${NAME}: sites by providing a way for scripts to be cached in a compiled +${NAME}: state so that the overhead of parsing and compiling can be almost +${NAME}: completely eliminated. +${NAME}: +${NAME}: Homepage: http://php.net/apc +${NAME}: +${NAME}: +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +config() { + NEW="\$1" + OLD="\$(dirname \$NEW)/\$(basename \$NEW .new)" + # If there's no config file by that name, mv it over: + if [ ! -r \$OLD ]; then + mv \$NEW \$OLD + elif [ "\$(cat \$OLD | md5sum)" = "\$(cat \$NEW | md5sum)" ]; then + # toss the redundant copy + rm \$NEW + fi + # Otherwise, we leave the .new copy for the admin to consider... +} + +config etc/php.d/apc.ini.new +EOF + +# Sources + +SRCNAME[0]=APC +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://pecl.php.net/get/${SRCNAME[0]}-${SRCVERS[0]}.tgz +SRCCOPY[0]="PHP" + +build0() +{ +phpize +CPPFLAGS="-I${SYS_DIR[include]}/pcre" \ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --enable-apc=shared,${SYS_DIR[usr]} +make ${JOBS} +make install INSTALL_ROOT="${PKG}" +doc INSTALL NOTICE +changelog CHANGELOG +install.dir ${PKG}${SYS_DIR[etc]}/php.d +install.cfg apc.ini ${PKG}${SYS_DIR[etc]}/php.d/apc.ini.new +} diff --git a/development/pkgconfig/pkgconfig.build b/development/pkgconfig/pkgconfig.build new file mode 100755 index 0000000..1cd3b4a --- /dev/null +++ b/development/pkgconfig/pkgconfig.build @@ -0,0 +1,65 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=pkgconfig +VERSION=0.28 +BUILD=3 + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: pkgconfig +${NAME}: +${NAME}: A helper tool used when compiling programs to locate various +${NAME}: files such as the required headers and libraries. +${NAME}: +${NAME}: Homepage: http://pkg-config.freedesktop.org/wiki +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=pkg-config +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://pkgconfig.freedesktop.org/releases/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --enable-static=no \ + --enable-shared=yes \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --docdir="${SYS_DIR[html]}/${SRCNAME[0]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-internal-glib \ + --with-pc-path="${SYS_DIR[lib]}/pkgconfig" \ + --disable-host-tool +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +rm -rf ${PKG}${SYS_DIR[html]} +} diff --git a/development/python/Python-2.7.4-fixforusrmove.patch.xz b/development/python/Python-2.7.4-fixforusrmove.patch.xz Binary files differnew file mode 100644 index 0000000..503d639 --- /dev/null +++ b/development/python/Python-2.7.4-fixforusrmove.patch.xz diff --git a/development/python/Python-2.7.4-nobinutilsdep.patch.xz b/development/python/Python-2.7.4-nobinutilsdep.patch.xz Binary files differnew file mode 100644 index 0000000..d808c50 --- /dev/null +++ b/development/python/Python-2.7.4-nobinutilsdep.patch.xz diff --git a/development/python/Python-2.7.4-norpath.patch.xz b/development/python/Python-2.7.4-norpath.patch.xz Binary files differnew file mode 100644 index 0000000..a8877ba --- /dev/null +++ b/development/python/Python-2.7.4-norpath.patch.xz diff --git a/development/python/Python-2.7.4-nostaticlibrary.patch.xz b/development/python/Python-2.7.4-nostaticlibrary.patch.xz Binary files differnew file mode 100644 index 0000000..ac4f069 --- /dev/null +++ b/development/python/Python-2.7.4-nostaticlibrary.patch.xz diff --git a/development/python/Python-2.7.4-pydocnogui.patch.xz b/development/python/Python-2.7.4-pydocnogui.patch.xz Binary files differnew file mode 100644 index 0000000..28cde23 --- /dev/null +++ b/development/python/Python-2.7.4-pydocnogui.patch.xz diff --git a/development/python/Python-2.7.4-readlinesetpreinputhook.patch.xz b/development/python/Python-2.7.4-readlinesetpreinputhook.patch.xz Binary files differnew file mode 100644 index 0000000..c1b6757 --- /dev/null +++ b/development/python/Python-2.7.4-readlinesetpreinputhook.patch.xz diff --git a/development/python/python.build b/development/python/python.build new file mode 100755 index 0000000..4eef21c --- /dev/null +++ b/development/python/python.build @@ -0,0 +1,114 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +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 <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: python (object-oriented interpreted programming language) +${NAME}: +${NAME}: Python is an interpreted, interactive, object-oriented programming +${NAME}: language that combines remarkable power with very clear syntax. +${NAME}: Python's basic power can be extended with your own modules written in +${NAME}: C or C++. Python is also adaptable as an extension language for +${NAME}: existing applications. +${NAME}: +${NAME}: Homepage: http://www.python.org +${NAME}: +${NAME}: +EOF + +# Sources + +PYTHONLIBDIR=${SYS_DIR[lib]}/python${MAJOR} + +SRCNAME[0]=Python +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://www.python.org/ftp/python/2.7.4/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz + +build0() +{ +# Fix pkgconfig file location +sed -i 's|$(LIBDIR)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.pre.in +# http://bugs.python.org/issue10835 +sed -i "/progname =/s/python/python${_pybasever}/" Python/pythonrun.c +# Enable built-in SQLite module to load extensions +sed -i "/SQLITE_OMIT_LOAD_EXTENSION/d" setup.py +# On many systems /usr/local/bin is not in $PATH as passed to CGI scripts +# and /usr/local/bin is the default directory where Python is installed, +# so /usr/bin/env would be unable to find python. Granted, binary +# installations by Linux vendors often install Python in /usr/bin. So let +# those vendors patch cgi.py to match their choice of installation. +sed -i -e "s|^#.* /usr/local/bin/python|#!/usr/bin/python2|" Lib/cgi.py +# Fix python2.3 +sed -i "s|python2.3|python2|g" \ + Lib/distutils/tests/test_{build,install}_scripts.py \ + Tools/scripts/gprof2html.py +# Use system versions of these libraries +rm -rf Modules/expat Modules/zlib Modules/_ctypes/{darwin,libffi}* +export OPT="${FLAGS}" +./configure \ + --build="${ARCH}-slackware-linux" \ + --enable-shared \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-threads \ + --with-dbmliborder=gdbm:ndbm \ + --with-system-expat \ + --with-system-ffi \ + --enable-ipv6 \ + --enable-unicode=ucs4 +make ${JOBS} +make altinstall maninstall DESTDIR="${PKG}" +license LICENSE +#FIXME: Add docs, demos and tools when there is subpackage support +# A few symlinks +( + cd ${PKG}${SYS_DIR[bin]} + ln -sf python${MAJOR} python2 + ln -sf python${MAJOR} python + ln -sf python${MAJOR}-config python2-config +) +( + cd ${PKG}${SYS_DIR[man]}/man1 + rm -f python.1 python2.1 + echo ".so man1/python${MAJOR}.1" > 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 <ofni.sknuplatem@etaripd> + +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 <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: python_m2crypto (cryptography toolkit for Python) +${NAME}: +${NAME}: M2Crypto is a crypto and SSL toolkit for Python. It includes: +${NAME}: - RSA, DSA, DH, HMACs, message digests, symmetric ciphers (e.g. AES) +${NAME}: - SSL functionality to implement clients and servers +${NAME}: - HTTPS extensions to Python's httplib, urllib, and xmlrpclib +${NAME}: - Unforgeable HMAC'ing AuthCookies for web session management +${NAME}: - FTP/TLS client and server, S/MIME v2, ZServerSSL, ZSmime +${NAME}: +${NAME}: Homepage: http://chandlerproject.org/Projects/MeTooCrypto +${NAME}: +EOF + +# Sources + +SRCNAME[0]=M2Crypto +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://pypi.python.org/packages/source/M/M2Crypto/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz + +build0() +{ +python2 setup.py build +python2 setup.py install --root="${PKG}" --optimize="1" +changelog CHANGES +license LICENCE +} diff --git a/development/ruby/ruby-2.0.0-p195-gemrc.patch.xz b/development/ruby/ruby-2.0.0-p195-gemrc.patch.xz Binary files differnew file mode 100644 index 0000000..4fe86f0 --- /dev/null +++ b/development/ruby/ruby-2.0.0-p195-gemrc.patch.xz diff --git a/development/ruby/ruby-2.0.0-p195-profiled.patch.xz b/development/ruby/ruby-2.0.0-p195-profiled.patch.xz Binary files differnew file mode 100644 index 0000000..a826db0 --- /dev/null +++ b/development/ruby/ruby-2.0.0-p195-profiled.patch.xz diff --git a/development/ruby/ruby-2.0.0-p195-verbosemkmf.patch.xz b/development/ruby/ruby-2.0.0-p195-verbosemkmf.patch.xz Binary files differnew file mode 100644 index 0000000..4b2a962 --- /dev/null +++ b/development/ruby/ruby-2.0.0-p195-verbosemkmf.patch.xz diff --git a/development/ruby/ruby.build b/development/ruby/ruby.build new file mode 100755 index 0000000..4c173c1 --- /dev/null +++ b/development/ruby/ruby.build @@ -0,0 +1,99 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +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 <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: ruby (Interpreted object-oriented scripting language) +${NAME}: +${NAME}: Ruby is an interpreted scripting language for quick and easy +${NAME}: object-oriented programming. It has many features to process text +${NAME}: files and to do system management tasks (as in Perl). It is simple, +${NAME}: straight-forward, and extensible. +${NAME}: +${NAME}: Visit the Ruby project online at http://www.ruby-lang.org +${NAME}: +${NAME}: +${NAME}: +EOF + +cat >> ${PKG}/install/doinst.sh <<EOF +#!/bin/sh + +config() { + NEW="\$1" + OLD="\$(dirname \$NEW)/\$(basename \$NEW .new)" + # If there's no config file by that name, mv it over: + if [ ! -r \$OLD ]; then + mv \$NEW \$OLD + elif [ "\$(cat \$OLD | md5sum)" = "\$(cat \$NEW | md5sum)" ]; then + # toss the redundant copy + rm \$NEW + fi + # Otherwise, we leave the .new copy for the admin to consider... +} + +config etc/gemrc.new +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${MAJOR}.${MINOR}-p${PATCH} +SRCPACK[0]=ftp://ftp.ruby-lang.org/pub/${SRCNAME[0]}/${MAJOR}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="BSD2 GPL2" + +build0() +{ +sed -i 's|File.join(libdir, "pkgconfig")|File.join("/usr/share", "pkgconfig")|g' tool/rbinstall.rb +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --enable-shared \ + --enable-pthread \ + --disable-rpath \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --disable-install-doc \ + --enable-multiarch \ + --with-ruby-version="minor" \ + --with-sitedir="site_ruby" \ + --with-vendordir="vendor_ruby" \ + --with-rubylibprefix="${SYS_DIR[share]}/ruby" \ + --with-rubyarchprefix="${SYS_DIR[lib]}/plugins/ruby" \ + --with-rubysitearchprefix="${SYS_DIR[usr]}/local/lib/ruby" +make ${JOBS} +make install-nodoc DESTDIR="${PKG}" +changelog NEWS +license COPYING +install.dir ${PKG}${SYS_DIR[etc]}/profile.d +install.cfg gemrc ${PKG}${SYS_DIR[etc]}/gemrc.new +install.bin ruby.{sh,csh} ${PKG}${SYS_DIR[etc]}/profile.d +( + cd ${PKG}${SYS_DIR[share]}/pkgconfig + ln -s ruby-${MAJOR}.pc ruby.pc +) +rm -rf ${PKG}${SYS_DIR[usr]}/local +} diff --git a/development/ruby_cairo/ruby_cairo.build b/development/ruby_cairo/ruby_cairo.build new file mode 100755 index 0000000..4114841 --- /dev/null +++ b/development/ruby_cairo/ruby_cairo.build @@ -0,0 +1,57 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +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 <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: ruby_cairo +${NAME}: +${NAME}: Cairo bindings for the Ruby scripting language. +${NAME}: +${NAME}: Homepage: http://www.cairographics.org/rcairo +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=cairo +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://production.cf.rubygems.org/gems/${SRCNAME[0]}-${SRCVERS[0]}.gem +SRCOPTS[0]="nounpack skipsrcroot" + +build0() +{ +GEMDEFAULTDIR="$(ruby -rubygems -e 'puts Gem.default_dir')" +GEMDIR="${PKG}${GEMDEFAULTDIR}/gems/${SRCNAME[0]}-${SRCVERS[0]}" + +gem install -V --no-user-install --ignore-dependencies --no-document \ + -i "${PKG}${GEMDEFAULTDIR}" ${SRCNAME[0]}-${SRCVERS[0]}.gem +install.dir ${PKG}${SYS_DIR[lib]}/plugins/ruby/2.0 +mv ${GEMDIR}/lib/cairo.so ${PKG}${SYS_DIR[lib]}/plugins/ruby/2.0 +install.dir ${PKG}${SYS_DIR[include]}/ruby-2.0 +mv ${GEMDIR}/lib/rb_cairo.h ${PKG}${SYS_DIR[include]}/ruby-2.0 +rm -rf \ + ${PKG}${GEMDEFAULTDIR}/{doc,build_info,cache} \ + ${GEMDIR}/{ext,samples} +} diff --git a/development/ruby_gtk2/ruby_gtk2.build b/development/ruby_gtk2/ruby_gtk2.build new file mode 100755 index 0000000..2530cc0 --- /dev/null +++ b/development/ruby_gtk2/ruby_gtk2.build @@ -0,0 +1,57 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +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 <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: ruby_gtk2 +${NAME}: +${NAME}: Gtk+2, glib, pango, ATK and gdk_pixbuf bindings for the Ruby +${NAME}: scripting language. +${NAME}: +${NAME}: Homepage: http://ruby-gnome2.sourceforge.jp +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=gtk2 +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://production.cf.rubygems.org/gems/${SRCNAME[0]}-${SRCVERS[0]}.gem +SRCOPTS[0]="nounpack skipsrcroot" + +build0() +{ +GEMDEFAULTDIR="$(ruby -rubygems -e 'puts Gem.default_dir')" +gem install -V --no-user-install --no-document \ + -i "${PKG}${GEMDEFAULTDIR}" ${SRCNAME[0]}-${SRCVERS[0]}.gem +rm -rf \ + ${PKG}${GEMDEFAULTDIR}/{gems,specifications}/{pkg-config*,cairo*} +install.dir ${PKG}${SYS_DIR[lib]}/plugins/ruby/2.0 +mv ${PKG}${GEMDEFAULTDIR}/gems/*/lib/*.so ${PKG}${SYS_DIR[lib]}/plugins/ruby/2.0 +install.dir ${PKG}${SYS_DIR[include]}/ruby-2.0 +mv ${PKG}${GEMDEFAULTDIR}/gems/*/lib/*.h ${PKG}${SYS_DIR[include]}/ruby-2.0 +rm -rf \ + ${PKG}${GEMDEFAULTDIR}/{doc,build_info,cache} \ + ${PKG}${GEMDEFAULTDIR}/gems/*/{ext,sample,test,Rakefile,extconf.rb} +} diff --git a/development/ruby_pkgconfig/ruby_pkgconfig.build b/development/ruby_pkgconfig/ruby_pkgconfig.build new file mode 100755 index 0000000..7e17041 --- /dev/null +++ b/development/ruby_pkgconfig/ruby_pkgconfig.build @@ -0,0 +1,50 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +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 <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: ruby_pkgconfig +${NAME}: +${NAME}: A pkg-config implementation for the Ruby scripting language. +${NAME}: +${NAME}: Homepage: http://github.com/rcairo/pkg-config +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=pkg-config +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://production.cf.rubygems.org/gems/${SRCNAME[0]}-${SRCVERS[0]}.gem +SRCOPTS[0]="nounpack skipsrcroot" + +build0() +{ +GEMDEFAULTDIR="$(ruby -rubygems -e 'puts Gem.default_dir')" +gem install --no-user-install --ignore-dependencies --no-document \ + -i "${PKG}${GEMDEFAULTDIR}" ${SRCNAME[0]}-${SRCVERS[0]}.gem +rm -rf ${PKG}${GEMDEFAULTDIR}/{doc,build_info,cache} +} diff --git a/development/scons/scons.build b/development/scons/scons.build new file mode 100755 index 0000000..71176da --- /dev/null +++ b/development/scons/scons.build @@ -0,0 +1,57 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +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 <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: scons +${NAME}: +${NAME}: SCons is an Open Source software construction tool - that is, a +${NAME}: next-generation build tool. Think of SCons as an improved, +${NAME}: cross-platform substitute for the classic Make utility with +${NAME}: integrated functionality similar to autoconf/automake and compiler +${NAME}: caches such as ccache. In short, SCons is an easier, more reliable +${NAME}: and faster way to build software. +${NAME}: +${NAME}: Homepage: http://www.scons.org +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://prdownloads.sourceforge.net/scons/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="MIT" + +build0() +{ +python setup.py install \ + --optimize=1 \ + --prefix="${SYS_DIR[usr]}" \ + --install-data="${SYS_DIR[share]}" \ + --root="${PKG}" \ + --standard-lib \ + --no-version-script +doc RELEASE.txt +changelog CHANGES.txt +# Fix to use /usr/bin/python2 +sed -i 's:^#!.*bin/env python:#!/usr/bin/env python2:' ${PKG}${SYS_DIR[bin]}/* +} diff --git a/development/strace/strace.build b/development/strace/strace.build new file mode 100755 index 0000000..3f7a04c --- /dev/null +++ b/development/strace/strace.build @@ -0,0 +1,58 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=strace +VERSION=4.8 +BUILD=1 + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: strace (trace system calls and signals) +${NAME}: +${NAME}: Strace allows you to trace the execution of a command. It runs the +${NAME}: specified command until it exits, intercepting signals and system +${NAME}: calls and dumping the information to the standard error. System +${NAME}: administrators, diagnosticians and trouble-shooters will find it +${NAME}: invaluable for solving problems with programs for which the source +${NAME}: is not readily available since they do not need to be recompiled in +${NAME}: order to trace them. +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[sf]}/strace/${SRCNAME[0]}/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="BSD3" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc CREDITS +changelog NEWS +} diff --git a/development/subversion/subversion.build b/development/subversion/subversion.build new file mode 100755 index 0000000..399028e --- /dev/null +++ b/development/subversion/subversion.build @@ -0,0 +1,59 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +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 <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: subversion +${NAME}: +${NAME}: A full-featured version control system originally designed to be a +${NAME}: better CVS. Subversion has since expanded beyond its original goal +${NAME}: of replacing CVS, but it's basic model, design and interface remain +${NAME}: heavily influenced by that goal. Even today, Subversion should still +${NAME}: feel very familiar to CVS users. +${NAME}: +${NAME}: Homepage: http://subversion.apache.org +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://subversion.tigris.org/downloads/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --enable-static=no \ + --enable-shared=yes \ + --prefix=/usr \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir=/etc \ + --libdir=/usr/lib$(libdirsuffix) \ + --localstatedir=/var +make -j 2 +make install DESTDIR="${PKG}" +doc COMMITTERS +changelog CHANGES +license COPYING +} diff --git a/development/udis86/udis86.build b/development/udis86/udis86.build new file mode 100755 index 0000000..816e144 --- /dev/null +++ b/development/udis86/udis86.build @@ -0,0 +1,60 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=udis86 +VERSION=1.7 +BUILD=2 + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: udis86 (disassembler) +${NAME}: +${NAME}: An easy-to-use minimalistic disassembler library for the x86 and +${NAME}: x86-64 class of instruction set architectures. The primary intent of +${NAME}: the design and development of udis86 is to aid software projects that +${NAME}: entail binary code analysis. +${NAME}: +${NAME}: Homepage: http://udis86.sf.net +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[sf]}/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="BSD2" + +build0() +{ +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]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --docdir="${SYS_DIR[doc]}/${SRCNAME[0]}" +make ${JOBS} +make install DESTDIR="${PKG}" +# No development docs +rm -rf ${PKG}${SYS_DIR[doc]}/${SRCNAME[0]} +} diff --git a/development/valgrind/valgrind-3.6.0-glibcversion.patch.xz b/development/valgrind/valgrind-3.6.0-glibcversion.patch.xz Binary files differnew file mode 100644 index 0000000..bf46f04 --- /dev/null +++ b/development/valgrind/valgrind-3.6.0-glibcversion.patch.xz diff --git a/development/valgrind/valgrind.SlackBuild b/development/valgrind/valgrind.SlackBuild new file mode 100755 index 0000000..4d503a2 --- /dev/null +++ b/development/valgrind/valgrind.SlackBuild @@ -0,0 +1,98 @@ +#!/bin/sh + +CWD=`pwd` +NAME=valgrind +VERSION=3.6.0 +ARCH=i586 +BUILD=1 +PKGNAME=$NAME +PKGVER=$VERSION +BASEDIR=$PKGNAME-$PKGVER +ARCHIVE=$BASEDIR.tar.bz2 +REPOSITORY=http://valgrind.org/downloads +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 jxvf $CWD/$ARCHIVE +cd $BASEDIR +xzcat $CWD/$NAME-$VERSION-glibcversion.patch.xz | patch -p1 -s +CFLAGS=$FLAGS CXXFLAGS=$FLAGS ./configure \ + --build=${ARCH}-slackware-linux \ + --disable-dependency-tracking \ + --prefix=/usr \ + --mandir=/usr/man \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --docdir=/usr/share/html +make + +# Install +make install DESTDIR=$PKG +mkdir -p $PKG/install $PKG/usr/doc/$NAME-$VERSION $PKG/usr/share/html +cat > $PKG/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +valgrind: valgrind +valgrind: +valgrind: Valgrind is a tool to help finding memory-management problems in +valgrind: programs. When a program is run under Valgrind's supervision, all +valgrind: reads and writes of memory are checked, and calls to 'malloc', 'new', +valgrind: 'free' and 'delete' are intercepted. As a result, Valgrind can detect +valgrind: a lot of problems that are otherwise very hard to find. +valgrind: +valgrind: Homepage: http://valgrind.org +valgrind: +valgrind: +EOF + +install -m 0644 -g 0 -o 0 AUTHORS NEWS \ + ${PKG}/usr/doc/${NAME}-${VERSION} + +xz -9f \ + $PKG/usr/doc/${NAME}-${VERSION}/NEWS + +mv \ + $PKG/usr/share/doc/valgrind/html \ + $PKG/usr/share/html/valgrind + +chmod 0444 $PKG/usr/man/man?/*.? +xz -9f $PKG/usr/man/man?/*.? + +rm -rf \ + $PKG/usr/share/doc \ + $PKG/usr/lib/*.la + +# WARNING: Do not strip symbols from what's in /usr/lib/valgrind +strip --strip-unneeded \ + $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/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 <ofni.sknuplatem@etaripd> + +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 <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: xfce4_dev_tools (Xfce development tools) +${NAME}: +${NAME}: Xfce development tools. These are not needed when merely building +${NAME}: Xfce. +${NAME}: +${NAME}: Homepage: http://www.xfce.org +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=xfce4-dev-tools +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://archive.xfce.org/src/xfce/${SRCNAME[0]}/${MAJOR}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="GPL2" + +build0() +{ +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} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +} diff --git a/development/yasm/yasm.build b/development/yasm/yasm.build new file mode 100755 index 0000000..1939a18 --- /dev/null +++ b/development/yasm/yasm.build @@ -0,0 +1,57 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=yasm +VERSION=1.2.0 +BUILD=2 + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: yasm (Assembler) +${NAME}: +${NAME}: Yasm is a complete rewrite of the NASM assembler that accepts NASM +${NAME}: and GAS assembler syntaxes, outputs binary, ELF32, ELF64, 32 and +${NAME}: 64-bit Mach-O, RDOFF2, COFF, Win32 and Win64 object formats and +${NAME}: generates source debugging information in STABS, DWARF 2 and +${NAME}: CodeView 8 formats. +${NAME}: +${NAME}: Homepage: http://tortall.net/projects/yasm +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://www.tortall.net/projects/${SRCNAME[0]}/releases/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2 LGPL2 ARTISTIC BSD2 BSD3" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-rpath \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +} |