diff options
author | Olivier Mehani | 2018-06-10 22:23:51 +1000 |
---|---|---|
committer | Olivier Mehani | 2018-06-10 22:23:51 +1000 |
commit | 9b38ea7e6274e79b68bf471fcbab9eb5d88fd4ef (patch) | |
tree | 4c51da04ef0a353517fa91359f4fa2b80e4dee4a /PKGBUILD | |
parent | 955c4c1523b0e2a7a0dea5393bac03e262f9fa44 (diff) | |
download | aur-mip6d-mcoa.tar.gz |
Add prepare and package steps
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -9,7 +9,6 @@ pkgdesc="UMIP userland with NEPL and MCoA patches for Mobile IPv6/NEMO operation arch=(i686 x86_64) url="http://www.nautilus6.org/doc/nepl-howto/nepl-howto.html" license=('GPL' 'custom') -depends=('kernel26-mipl') makedepends=(indent) provides=(mip6d) optdepends=('radvd: to act as a NEMO Mobile Router advertising a MNP on the mobile link') @@ -30,9 +29,19 @@ build() { patch -p 1 < $srcdir/${_umipname}-${pkgver}-nepl-${_neplrel}.patch patch -p 1 < $srcdir/${_umipname}-${pkgver}-nepl-mcoa-${_neplrel}.patch - autoreconf -i +} + +build() { + cd "$srcdir/${_umipname}-${pkgver}" + + autoreconf -i ./configure --prefix=/usr --enable-vt make CFLAGS=-DNULL=0 || return 1 +} + +package() { + cd "$srcdir/${_umipname}-${pkgver}" + make DESTDIR="$pkgdir/" install for file in extras/example-*.conf; do |