blob: b1570ab06be1df92a674ad090adea9c331c8a8d5 (
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
|
# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
pkgname=xdm
pkgver=1.1.11
pkgrel=4
pkgdesc="X Display Manager"
url="http://xorg.freedesktop.org/"
arch="all"
license="MIT"
depends="sessreg"
depends_dev="linux-pam-dev libxmu-dev libxaw-dev"
makedepends="${depends_dev}"
install=""
subpackages="${pkgname}-doc"
source="
${url}/releases/individual/app/${pkgname}-${pkgver}.tar.bz2
${pkgname}.initd
Xresources.alpinelinux
Xresources.alpinelinux_old
alpinelinux_old_blue_black.xpm
alpinelinux_white_blue.xpm
"
_builddir="${srcdir}"/"${pkgname}"-"${pkgver}"
prepare() {
local i=
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--enable-ipv6 \
--with-xdmconfigdir=/etc/X11/${pkgname} \
--with-pam \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/X11/xdm/*.la
install -D -m755 "$srcdir"/${pkgname}.initd \
"$pkgdir"/etc/init.d/${pkgname} || return 1
install -D -m644 "$srcdir"/Xresources.alpinelinux \
"$pkgdir"/etc/X11/${pkgname}/Xresources.alpinelinux \
|| return 1
install -D -m644 "$srcdir"/Xresources.alpinelinux_old \
"$pkgdir"/etc/X11/${pkgname}/Xresources.alpinelinux_old \
|| return 1
install -D -m644 "$srcdir"/alpinelinux_old_blue_black.xpm \
"$pkgdir"/etc/X11/${pkgname}/pixmaps/alpinelinux_old_blue_black.xpm \
|| return 1
install -D -m644 "$srcdir"/alpinelinux_white_blue.xpm \
"$pkgdir"/etc/X11/${pkgname}/pixmaps/alpinelinux_white_blue.xpm \
|| return 1
}
md5sums="64a1af1f7eb69feae12e75d4cc3aaf19 xdm-1.1.11.tar.bz2
7b09a1690c503f3cce293bbccf487cff xdm.initd
b2c215bc54ecb349ff5f54cc0c5e5529 Xresources.alpinelinux
7342c0be3ce17c84a2872138ff122fc6 Xresources.alpinelinux_old
eac1a660d7e389768cbc9883f0730281 alpinelinux_old_blue_black.xpm
650ee72b634ff7fb146b7a7652416b5a alpinelinux_white_blue.xpm"
sha256sums="d4da426ddea0124279a3f2e00a26db61944690628ee818a64df9d27352081c47 xdm-1.1.11.tar.bz2
1c9b5983ceb0787fe3a8e32448f3d0d46daa3d4f3a34dca3ee17bb313c5a4bb3 xdm.initd
d9453bf82ff28270e79d2cfaed1aaebeb7f806954b1f8fc8401e9473a9cab2cc Xresources.alpinelinux
8e0b0780bfb974f718dd491edab23ac95fc050f478f5bcc347172194f4d907f3 Xresources.alpinelinux_old
fd868f01d1b6e1ca6905e9f35599cc7e6a0e0818b34a47f56819ccee1d8db0d8 alpinelinux_old_blue_black.xpm
848334ce1dfafe22746a57005910ef68641df8cc09bd5ad803048bc22e534feb alpinelinux_white_blue.xpm"
sha512sums="fe6f2b7817c0f7f07a1f5f497edcdfa15b93986fd87f314daa472dac8625327ef46ebbf40d27fe8d4a8a2f8d5af8a01c4438a29356740e0eb350f2bd0c7ec0d5 xdm-1.1.11.tar.bz2
afd702f72b10ce7a11c48f4350bc50ba8e1a4addb634241de6494cea2b468d9d4a5fcd854db12c2e91540319e51ab65f97dcfec4b31762c1e4c08851dc86ff52 xdm.initd
2a9db579323d680b6b3d7a0377ea1140c8570870c4f06f2ecc5e0ec73233b3621e46823ff3f694d8fa296a4de83b4fd62c2635c3c6b413b613ebe83cba4cf033 Xresources.alpinelinux
5d667541fdb39bdbd637da45e05a243736af32b7aa75ce27f2bbf097bce2fad87932619b372ab03add29b0bef7dd8816eb89875fbf2426eba83978d720687d90 Xresources.alpinelinux_old
b55424fd9ea0970fdbecd11c1abecf41cad1a7ede03f38011f666ae4eed2a88def5ac364bdf4ebcac09fa66963ed534e85faff74fcd01e9f040229d999382472 alpinelinux_old_blue_black.xpm
3872c54ad6fd6aa6c893f5f950801ae079bb7b6d375a05ef2262eb244a96ea3e949ab3cd962e005acf957c9ad4d30caee4c3935d7864a196625e8bfed9bc5adf alpinelinux_white_blue.xpm"
|