wok-current annotate libev/receipt @ rev 25549
created recipe for lesspipe
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 03 06:53:23 2023 +0100 (19 months ago) |
parents | ede1d184d5c5 |
children |
rev | line source |
---|---|
mallory@2683 | 1 # SliTaz package receipt. |
mallory@2683 | 2 |
mallory@2683 | 3 PACKAGE="libev" |
Hans-G?nter@24736 | 4 VERSION="4.33" |
mallory@2683 | 5 CATEGORY="system-tools" |
pankso@16441 | 6 SHORT_DESC="A full-featured and high-performance event loop." |
mallory@2683 | 7 MAINTAINER="mallory@sweetpeople.org" |
pascal@15472 | 8 LICENSE="BSD" |
Hans-G?nter@21174 | 9 WEB_SITE="http://software.schmorp.de/pkg/libev.html" |
Hans-G?nter@21174 | 10 |
mallory@2683 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mallory@2683 | 12 WGET_URL="http://dist.schmorp.de/libev/$TARBALL" |
Hans-G?nter@21174 | 13 |
pankso@16441 | 14 HOST_ARCH="i486 arm" |
mallory@2683 | 15 |
pascal@24447 | 16 # What is the latest version available today? |
pascal@24447 | 17 current_version() |
pascal@24447 | 18 { |
pascal@24447 | 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24447 | 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24447 | 21 } |
pascal@24447 | 22 |
mallory@2683 | 23 # Rules to configure and make the package. |
mallory@2683 | 24 compile_rules() |
mallory@2683 | 25 { |
slaxemulator@10206 | 26 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@24736 | 27 make && |
Hans-G?nter@21174 | 28 make install |
mallory@2683 | 29 } |
mallory@2683 | 30 |
mallory@2683 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2683 | 32 genpkg_rules() |
mallory@2683 | 33 { |
Hans-G?nter@24736 | 34 cook_copy_files *.so* |
mallory@2683 | 35 } |