wok view neon/receipt @ rev 15584
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 30 17:02:58 2013 +0000 (2013-11-30) |
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 }