wok-current view ucarp/receipt @ rev 22411

VLC: request of --enable-run-as-root, see http://forum.slitaz.org/topic/vlc-player-does-not-run-on-root
author Erkan Yilmaz <erkan@slitaz.org>
date Fri Dec 13 13:43:22 2019 +0000 (2019-12-13)
parents 2a21689b0af7
children 934055de50e2
line source
1 # SliTaz package receipt.
3 PACKAGE="ucarp"
4 VERSION="1.5.2"
5 CATEGORY="network"
6 SHORT_DESC="Portable implementation of the CARP protocol."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://github.com/jedisct1/UCarp"
11 WGET_URL="http://download.pureftpd.org/pub/$PACKAGE/$TARBALL"
12 TAGS="High availability HA"
14 BUILD_DEPENDS="libpcap-dev"
15 DEPENDS="libpcap"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's/\$(SHELL) @install_sh@/@install_sh@/' po/Makefile.in*
21 ./configure --prefix=/usr --mandir=/usr/share/man \
22 --localstatedir=/var \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/sbin $fs/usr
33 }