blob: a50d31c7263715c86ef5f5e30fdd8e5707813e82 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
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
}
|