wok-current view neon/receipt @ rev 7373
Added fix for libxml2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Nov 24 20:56:44 2010 +0000 (2010-11-24) |
parents | 3dcfa6077917 |
children | 10433f99c987 |
line source
1 # SliTaz package receipt.
3 PACKAGE="neon"
4 VERSION="0.29.3"
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 }