blob: eab50ca0040ce61e2d4e9cbd1b381b0f95bda499 (
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: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=ipv6calc
pkgver=0.99.1
pkgrel=1
pkgdesc='Small utility to manipulate, convert and calculate (more than) IPv6 addresses'
url='http://www.deepspace6.net/projects/ipv6calc.html'
license=('GPL2')
source=("ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/ipv6calc-${pkgver}.tar.gz")
md5sums=('aa3c0bb7267bc98d50c12f6b5ca4504f')
arch=('i686' 'x86_64')
checkdepends=('perl-digest-sha1' 'perl-uri')
options=('!buildflags')
prepare() {
cd "${pkgname}-${pkgver}"
# Run autotools.
autoconf
}
build() {
cd "${pkgname}-${pkgver}"
# Configure the build.
./configure \
--prefix="${pkgdir}/usr"
sed -i -e "s#\${prefix}#$pkgdir/usr#g" man/Makefile
# Build it!
make
}
package() {
cd "${pkgname}-${pkgver}"
# Install the program.
make install
}
# vim:set ts=2 sw=2 et:
|