wok annotate libogg/receipt @ rev 24133
Up tazinst (115)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 23 15:17:56 2021 +0000 (2021-10-23) |
parents | ff6a72a8721a |
children | 095836df71b7 |
rev | line source |
---|---|
pankso@32 | 1 # SliTaz package receipt. |
pankso@32 | 2 |
pankso@32 | 3 PACKAGE="libogg" |
Hans-G?nter@23091 | 4 VERSION="1.3.4" |
pankso@206 | 5 CATEGORY="multimedia" |
pankso@32 | 6 SHORT_DESC="OGG library from Xiph.org project." |
pankso@32 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15482 | 8 LICENSE="BSD" |
Hans-G?nter@21267 | 9 WEB_SITE="https://www.xiph.org/ogg/" |
Hans-G?nter@21267 | 10 |
slaxemulator@7695 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@20669 | 12 WGET_URL="https://downloads.xiph.org/releases/ogg/$TARBALL" |
pankso@32 | 13 |
pascal@15482 | 14 DEPENDS="glibc-base" |
pascal@15482 | 15 |
Hans-G?nter@21267 | 16 HOST_ARCH="i486 arm" |
Hans-G?nter@21267 | 17 |
pascal@24072 | 18 current_version() |
pascal@24072 | 19 { |
pascal@24072 | 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 22 } |
pascal@24072 | 23 |
pankso@32 | 24 # Rules to configure and make the package. |
pankso@32 | 25 compile_rules() |
pankso@32 | 26 { |
pankso@15946 | 27 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@21267 | 28 make -j1 && |
pascal@15482 | 29 make -j1 DESTDIR=$DESTDIR install |
pankso@32 | 30 } |
pankso@32 | 31 |
pankso@32 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@32 | 33 genpkg_rules() |
pankso@32 | 34 { |
pankso@32 | 35 mkdir -p $fs/usr/lib |
Hans-G?nter@23091 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@32 | 37 } |