blob: dd46579e0a276db78fcb97db49d343fecd0da547 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=m4
pkgver=1.4.17
pkgrel=1
pkgdesc="GNU macro processor"
url="http://www.gnu.org/software/m4"
depends=
makedepends=texinfo
arch="all"
license="GPL"
subpackages="m4-doc"
source="ftp://ftp.gnu.org/gnu/m4/$pkgname-$pkgver.tar.gz
"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
}
build() {
cd "$_builddir"
LIBS="-lrt" ./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make
}
package() {
cd "$_builddir"
make install DESTDIR="$pkgdir"
rm -rf "$pkgdir"/usr/lib/charset.alias
rmdir -p "$pkgdir"/usr/lib 2>/dev/null
return 0
}
md5sums="a5e9954b1dae036762f7b13673a2cf76 m4-1.4.17.tar.gz"
sha256sums="3ce725133ee552b8b4baca7837fb772940b25e81b2a9dc92537aeaf733538c9e m4-1.4.17.tar.gz"
sha512sums="211bac8ea73723fa1e95a05efa93b962151aee73f92e6a0792a345789b5d2bfba93b37a2bf416a37e6fc32f093b12246bbf50899054979efea5819e5fa48b9c9 m4-1.4.17.tar.gz"
|