wok-next annotate neon/receipt @ rev 15578
wpa_supplicant: update start script
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 29 13:39:45 2013 +0000 (2013-11-29) |
parents | d40e868aeece |
children | 3765f181a6d5 |
rev | line source |
---|---|
erjo@1217 | 1 # SliTaz package receipt. |
erjo@1217 | 2 |
erjo@1217 | 3 PACKAGE="neon" |
pascal@5420 | 4 VERSION="0.29.3" |
pascal@1423 | 5 CATEGORY="development" |
erjo@1217 | 6 SHORT_DESC="Neon HTTP and WebDAV client library" |
erjo@1217 | 7 MAINTAINER="lehswe@gmail.com" |
erjo@8739 | 8 DEPENDS="libssl zlib libkrb5 libcomerr3 expat" |
pascal@4286 | 9 BUILD_DEPENDS="zlib-dev libxml2-dev expat-dev openssl-dev" |
erjo@1217 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@1217 | 11 WEB_SITE="http://www.webdav.org/neon" |
erjo@1217 | 12 WGET_URL="http://www.webdav.org/neon/$TARBALL" |
jozee@4969 | 13 TAGS="http webdav" |
erjo@1217 | 14 |
erjo@1217 | 15 # Rules to configure and make the package. |
erjo@1217 | 16 compile_rules() |
erjo@1217 | 17 { |
erjo@1217 | 18 cd $src |
pascal@4286 | 19 # SOCK_CLOEXEC needs linux 2.6.27+ |
pascal@5421 | 20 #sed -i 's/| SOCK_CLOEXEC//' src/ne_socket.c |
erjo@1217 | 21 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4286 | 22 --with-ssl=openssl --mandir=/usr/share/man \ |
jozee@3488 | 23 --enable-shared --disable-static \ |
jozee@3488 | 24 $CONFIGURE_ARGS && |
pascal@1465 | 25 make && |
erjo@1217 | 26 make DESTDIR=$PWD/_pkg install |
erjo@1217 | 27 } |
erjo@1217 | 28 |
erjo@1217 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1217 | 30 genpkg_rules() |
erjo@1217 | 31 { |
pascal@3964 | 32 mkdir -p $fs/usr/lib |
pascal@3964 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@1217 | 34 cp -a $_pkg/usr/bin $fs/usr |
erjo@1217 | 35 } |
erjo@1217 | 36 |
erjo@8739 | 37 |