wok-6.x annotate vanessa_socket/receipt @ rev 24987
grub: add gpt support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 12 07:08:39 2022 +0000 (2022-05-12) |
parents | 8c1e8618de66 |
children | 8ea0030e77cb |
rev | line source |
---|---|
pascal@1215 | 1 # SliTaz package receipt. |
pascal@1215 | 2 |
pascal@1215 | 3 PACKAGE="vanessa_socket" |
Hans-G?nter@22094 | 4 VERSION="0.0.13" |
pascal@1215 | 5 CATEGORY="network" |
pascal@1215 | 6 SHORT_DESC="Simplifies TCP/IP socket operations." |
pascal@1215 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15363 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@22094 | 9 WEB_SITE="http://horms.net/projects/vanessa" |
Hans-G?nter@22094 | 10 |
pascal@18805 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@22094 | 12 WGET_URL="https://projects.horms.net/projects/vanessa/download/$PACKAGE/$VERSION/$TARBALL" |
pascal@15363 | 13 |
Hans-G?nter@22094 | 14 DEPENDS="popt vanessa_logger" |
Hans-G?nter@22094 | 15 BUILD_DEPENDS="popt-dev vanessa_logger-dev" |
pascal@1215 | 16 |
pascal@24476 | 17 # What is the latest version available today? |
pascal@24476 | 18 current_version() |
pascal@24476 | 19 { |
pascal@24476 | 20 wget -O - https://projects.horms.net/projects/vanessa/download/vanessa_socket/ 2>/dev/null | \ |
pascal@24476 | 21 sed '/href="[0-9]/!d;s|.*href="||;s|/.*||' | sort -Vr | sed q |
pascal@24476 | 22 } |
pascal@24476 | 23 |
pascal@1215 | 24 # Rules to configure and make the package. |
pascal@1215 | 25 compile_rules() |
pascal@1215 | 26 { |
Hans-G?nter@22094 | 27 ./configure \ |
Hans-G?nter@22094 | 28 --prefix=/usr \ |
Hans-G?nter@22094 | 29 --infodir=/usr/share/info \ |
Hans-G?nter@22094 | 30 --mandir=/usr/share/man \ |
Hans-G?nter@22094 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@22094 | 32 make && |
pascal@15363 | 33 make DESTDIR=$DESTDIR install |
pascal@1215 | 34 } |
pascal@1215 | 35 |
pascal@1215 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1215 | 37 genpkg_rules() |
pascal@1215 | 38 { |
pascal@1215 | 39 mkdir -p $fs/usr/lib |
Hans-G?nter@22094 | 40 |
Hans-G?nter@22094 | 41 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22094 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@1215 | 43 } |