wok view neon/receipt @ rev 12088

busybox: su should not chdir (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 10 09:31:50 2012 +0100 (2012-03-10)
parents d40e868aeece
children 3765f181a6d5
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 }