# SliTaz package receipt. PACKAGE="neon" VERSION="0.29.3" CATEGORY="development" SHORT_DESC="Neon HTTP and WebDAV client library" MAINTAINER="lehswe@gmail.com" DEPENDS="libssl zlib libkrb5 libcomerr3 expat" BUILD_DEPENDS="zlib-dev libxml2-dev expat-dev openssl-dev" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.webdav.org/neon" WGET_URL="http://www.webdav.org/neon/$TARBALL" TAGS="http webdav" # Rules to configure and make the package. compile_rules() { cd $src # SOCK_CLOEXEC needs linux 2.6.27+ #sed -i 's/| SOCK_CLOEXEC//' src/ne_socket.c ./configure --prefix=/usr --infodir=/usr/share/info \ --with-ssl=openssl --mandir=/usr/share/man \ --enable-shared --disable-static \ $CONFIGURE_ARGS && make && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $_pkg/usr/lib/*.so* $fs/usr/lib cp -a $_pkg/usr/bin $fs/usr }