wok annotate lzo/receipt @ rev 25808
created recipe for xmenu
author | Hans-G?nter Theisgen |
---|---|
date | Thu Dec 19 16:09:37 2024 +0100 (7 days ago) |
parents | 1cc8dfef2917 |
children |
rev | line source |
---|---|
erjo@252 | 1 # SliTaz package receipt. |
erjo@252 | 2 |
erjo@252 | 3 PACKAGE="lzo" |
pascal@20221 | 4 VERSION="2.10" |
erjo@252 | 5 CATEGORY="system-tools" |
erjo@252 | 6 SHORT_DESC="Data compression library" |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15379 | 8 LICENSE="GPL2" |
erjo@252 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@252 | 10 WEB_SITE="http://www.oberhumer.com/opensource/lzo/download/" |
pascal@17984 | 11 WGET_URL="$WEB_SITE$TARBALL" |
pankso@16381 | 12 HOST_ARCH="i486 arm" |
erjo@252 | 13 |
pascal@24076 | 14 current_version() |
pascal@24076 | 15 { |
pascal@24076 | 16 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24076 | 17 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24076 | 18 } |
pascal@24076 | 19 |
erjo@252 | 20 # Rules to configure and make the package. |
erjo@252 | 21 compile_rules() |
erjo@252 | 22 { |
slaxemulator@10154 | 23 ./configure \ |
pankso@16381 | 24 --enable-shared \ |
pankso@16381 | 25 $CONFIGURE_ARGS && |
slaxemulator@10154 | 26 make && make install |
erjo@252 | 27 } |
erjo@252 | 28 |
erjo@252 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@252 | 30 genpkg_rules() |
erjo@252 | 31 { |
erjo@252 | 32 mkdir -p $fs/usr/lib |
pascal@15379 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
erjo@252 | 34 } |