wok-4.x diff iproute2/receipt @ rev 12085
fpm2: Make sure /usr folder exist before copying /usr/bin folder.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Mar 09 21:47:23 2012 -0500 (2012-03-09) |
parents | 5625dc1287ba |
children |
line diff
1.1 --- a/iproute2/receipt Wed Mar 02 10:32:40 2011 +0100 1.2 +++ b/iproute2/receipt Fri Mar 09 21:47:23 2012 -0500 1.3 @@ -5,24 +5,22 @@ 1.4 CATEGORY="network" 1.5 SHORT_DESC="utilites for networking and traffic control" 1.6 MAINTAINER="allan316@gmail.com" 1.7 -DEPENDS="iptables db" 1.8 -BUILD_DEPENDS="bison flex" 1.9 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.10 WEB_SITE="http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2" 1.11 WGET_URL="http://devresources.linux-foundation.org/dev/$PACKAGE/download/$TARBALL" 1.12 TAGS="network route" 1.13 1.14 +DEPENDS="iptables db" 1.15 +BUILD_DEPENDS="bison flex db-dev" 1.16 + 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 { 1.20 cd $src 1.21 sed -i 's/<net\/if.h>/<net\/if.h>\n#include <linux\/ip.h>/' ip/link_gre.c 1.22 - ./configure \ 1.23 - --prefix=/usr \ 1.24 - --infodir=/usr/share/info \ 1.25 - --mandir=/usr/share/man \ 1.26 - $CONFIGURE_ARGS && 1.27 - make && make DESTDIR=$PWD/_pkg install 1.28 + ./configure --prefix=/usr && \ 1.29 + make && \ 1.30 + make DESTDIR=$DESTDIR install 1.31 } 1.32 1.33 # Rules to gen a SliTaz package suitable for Tazpkg.