wok-stable view neon/receipt @ rev 11828

Up: dokuwiki (2012.01.25)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Feb 27 00:38:58 2012 +0100 (2012-02-27)
parents d40e868aeece
children
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="libssl 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 }