wok-stable view neon/receipt @ rev 5139

Up: slitaz-boot-scripts (3.3) Bug fix release
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 23 20:45:29 2010 +0100 (2010-03-23)
parents bee79018e13a
children 3dcfa6077917
line source
1 # SliTaz package receipt.
3 PACKAGE="neon"
4 VERSION="0.28.4"
5 CATEGORY="development"
6 SHORT_DESC="Neon HTTP and WebDAV client library"
7 MAINTAINER="lehswe@gmail.com"
8 DEPENDS="openssl zlib libkrb5 libcomerr3 expat"
9 BUILD_DEPENDS="zlib-dev libxml2-dev expat-dev openssl-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.webdav.org/neon"
12 WGET_URL="http://www.webdav.org/neon/$TARBALL"
13 TAGS="http webdav"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 # SOCK_CLOEXEC needs linux 2.6.27+
20 sed -i 's/| SOCK_CLOEXEC//' src/ne_socket.c
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --with-ssl=openssl --mandir=/usr/share/man \
23 --enable-shared --disable-static \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/bin $fs/usr
35 }