wok-6.x view libpcap/receipt @ rev 11904

cyrus-imapd: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 29 20:32:37 2012 +0100 (2012-02-29)
parents 811dd79a8ec5
children eda93f9881c4
line source
1 # SliTaz package receipt.
3 PACKAGE="libpcap"
4 VERSION="1.1.1"
5 CATEGORY="development"
6 SHORT_DESC="library for tcpdump"
7 MAINTAINER="sdaigl@lacitec.on.ca"
8 DEPENDS="libnl"
9 BUILD_DEPENDS="flex bison"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.tcpdump.org/"
12 WGET_URL="http://www.tcpdump.org/release/$TARBALL";
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 }