diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-12-19 14:47:50 -0200 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-12-19 14:47:50 -0200 |
commit | e72d299db015781d748003eaf5ac8e5a8126dae9 (patch) | |
tree | 3fc90749a4faa2731511603bec1d30e1a8a9e832 /pcr/ipv6calc/PKGBUILD | |
parent | b456c61a8e5c32c965c1e4544e6f17fe72f97fcb (diff) | |
parent | 01c58b467b288ac878cec7854e290337c8799d65 (diff) | |
download | abslibre-e72d299db015781d748003eaf5ac8e5a8126dae9.tar.gz abslibre-e72d299db015781d748003eaf5ac8e5a8126dae9.tar.bz2 abslibre-e72d299db015781d748003eaf5ac8e5a8126dae9.zip |
Merge branch 'master' of ssh://projects.parabola.nu:1863/~git/abslibre/abslibre
Diffstat (limited to 'pcr/ipv6calc/PKGBUILD')
-rw-r--r-- | pcr/ipv6calc/PKGBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pcr/ipv6calc/PKGBUILD b/pcr/ipv6calc/PKGBUILD new file mode 100644 index 000000000..2dd2655ba --- /dev/null +++ b/pcr/ipv6calc/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp> + +pkgname=ipv6calc +pkgver=0.97.2 +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") +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: |