From d150a5f3e462fa7fe194a805a4aa0076f4d03ab9 Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Sun, 16 Sep 2018 18:48:36 +0200 Subject: Add ports. --- development/autotools/autotools.build | 132 ++++++++++++++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100755 development/autotools/autotools.build (limited to 'development/autotools/autotools.build') 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 + +source /usr/src/ports/Build/build.sh + +NAME=autotools +VERSION=2.69 +BUILD=7 +DEPENDS=('perl_xmlparser >= 2.41-1' 'm4 >= 1.4.16-1') + +# Description + +cat > ${PKG}/install/slack-desc <> ${PKG}/install/doinst.sh < /dev/null + fi + done +} + +# Install texinfo files + +install_info autoconf automake automake-history libtool +EOF + +# Sources + +configure() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --infodir="${SYS_DIR[info]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + ${*} +} + +SRCNAME[0]=autoconf +SRCVERS[0]=2.69 +SRCPACK[0]=${URL[gnu]}/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz +SRCCOPY[0]="GPL2 GPL3" + +build0() +{ +configure +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog NEWS +license COPYING.EXCEPTION COPYING.EXCEPTION +# This is already in a few other packages +rm -f ${PKG}${SYS_DIR[info]}/standards.info* +} + +SRCNAME[1]=automake +SRCVERS[1]=1.14.1 +SRCPACK[1]=${URL[gnu]}/${SRCNAME[1]}/${SRCNAME[1]}-${SRCVERS[1]}.tar.xz +SRCCOPY[1]="GPL2" + +build1() +{ +configure +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog NEWS +} + +SRCNAME[2]=libtool +SRCVERS[2]=2.4.2 +SRCPACK[2]=${URL[gnu]}/${SRCNAME[2]}/${SRCNAME[2]}-${SRCVERS[2]}.tar.xz +SRCCOPY[2]="GPL2" + +build2() +{ +configure \ + --disable-dependency-tracking \ + --enable-shared=yes \ + --enable-static=no \ + --enable-ltdl-install +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS THANKS +changelog NEWS +rm -rf ${PKG}${SYS_DIR[doc]}/libtool +} + +SRCNAME[3]=intltool +INTLTOOLM=0.50 +SRCVERS[3]=${INTLTOOLM}.2 +SRCPACK[3]=http://edge.launchpad.net/intltool/trunk/${SRCVERS[3]}/+download/${SRCNAME[3]}-${SRCVERS[3]}.tar.gz +SRCCOPY[3]="GPL2" + +build3() +{ +configure +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog ChangeLog +} -- cgit v1.2.3-70-g09d2