blob: 5e90d9dd62c4bf9cb10f4ee7976ec857fddc2cdf (
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
|
# Maintainer: nemesys <nemstar AT zoho DOT com>
pkgname=svgalib
pkgver=1.9.25
pkgrel=5
pkgdesc="A low-level SuperVGA graphics library"
arch=('i686' 'x86_64')
url="http://www.svgalib.org/"
license=('GPL')
depends=('perl')
source=(http://mail.arava.co.il/~matan/${pkgname}/${pkgname}-${pkgver}.tar.gz
svgalib-1.9.25-linux2.6.patch
svgalib-1.9.25-linux2.6.28.patch
svgalib-1.9.25-glibc210.patch
svgalib-1.9.25-linux2.6.36.patch
svgalib-1.9.25-quickmath-h-redefinitions.patch
svgalib-1.9.25-vga_getmodenumber.patch)
md5sums=('4dda7e779e550b7404cfe118f1d74222'
'eadd4d3974a475ccc9d72f1e614c69df'
'5c797ca334e4c7f326dc08df7a3eb5c9'
'938f822ede2c9e76f2da0dd3ee38ba33'
'99e767dec306ff4d307eef151f352466'
'e584d783f50991881e8c16c1ba2be7b1'
'08770c05c94416c10771cf819e739fb9')
build() {
cd ${pkgname}-${pkgver}
find -name Makefile -exec sed '/fixldsoconf/d;/ldconfig/d' -i {} \;
ln -sf ../gl/vgagl.h threeDKit/
cd "${srcdir}"
patch -Np1 -i "${srcdir}"/svgalib-1.9.25-linux2.6.patch
patch -Np1 -i "${srcdir}"/svgalib-1.9.25-linux2.6.28.patch
patch -Np1 -i "${srcdir}"/svgalib-1.9.25-glibc210.patch
patch -Np1 -i "${srcdir}"/svgalib-1.9.25-linux2.6.36.patch
patch -Np1 -i "${srcdir}"/svgalib-1.9.25-vga_getmodenumber.patch
patch -Np1 -i "${srcdir}"/svgalib-1.9.25-quickmath-h-redefinitions.patch
cd ${pkgname}-${pkgver}
make prefix="${pkgdir}"/usr \
NO_HELPER=n \
shared static
}
package() {
install -dm755 "${pkgdir}"/usr/lib
cd ${pkgname}-${pkgver}
make prefix="${pkgdir}"/usr \
datadir="${pkgdir}"/etc/vga \
NO_HELPER=y \
install
}
|