wok-next view ndppd/receipt @ rev 20454

Choose between libpng16 and libpng12
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 17:32:31 2018 +0200 (2018-02-28)
parents cd7c90022605
children d43bf7aae921
line source
1 # SliTaz package receipt.
3 PACKAGE="ndppd"
4 VERSION="0.2.4"
5 CATEGORY="network"
6 SHORT_DESC="NDP Proxy Daemon"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/DanielAdolfsson/ndppd"
11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
12 CONFIG_FILES="/etc/ndppd.conf"
13 TAGS="ipv6"
15 DEPENDS="gcc-lib-base"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's| -1)| ~0U)|' src/iface.cc
21 sed -i 's|/usr/local|/usr|' Makefile
22 make all &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/etc $fs/usr
30 touch $fs/etc/ndppd.conf
31 cp -a $install/usr/sbin $fs/usr
32 }