wok-current view neon/receipt @ rev 17968
Up slitaz-tools-boxes (939)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 17 10:45:28 2015 +0200 (2015-04-17) |
parents | 10433f99c987 |
children | 54e6c6e354d1 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.webdav.org/neon"
11 WGET_URL="http://www.webdav.org/neon/$TARBALL"
12 TAGS="http webdav"
14 DEPENDS="libssl zlib libkrb5 libcomerr3 expat"
15 BUILD_DEPENDS="zlib-dev libxml2-dev expat-dev openssl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 # SOCK_CLOEXEC needs linux 2.6.27+
22 #sed -i 's/| SOCK_CLOEXEC//' src/ne_socket.c
23 ./configure --prefix=/usr --infodir=/usr/share/info \
24 --with-ssl=openssl --mandir=/usr/share/man \
25 --enable-shared --disable-static \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp -a $install/usr/bin $fs/usr
37 }