wok-4.x view neon/receipt @ rev 4666

Up: mc (4.7.0)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Dec 29 00:22:27 2009 +0100 (2009-12-29)
parents aa7f55234f1f
children bee79018e13a
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"
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 # SOCK_CLOEXEC needs linux 2.6.27+
19 sed -i 's/| SOCK_CLOEXEC//' src/ne_socket.c
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --with-ssl=openssl --mandir=/usr/share/man \
22 --enable-shared --disable-static \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/bin $fs/usr
34 }