wok annotate schroedinger/receipt @ rev 25178
Add linux-chrome
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 03 18:25:40 2022 +0000 (2022-07-03) |
parents | 7c0170dd3ecc |
children |
rev | line source |
---|---|
domcox@14011 | 1 # SliTaz package receipt. |
domcox@14011 | 2 |
domcox@14011 | 3 PACKAGE="schroedinger" |
domcox@14011 | 4 VERSION="1.0.11" |
domcox@14011 | 5 CATEGORY="multimedia" |
domcox@14011 | 6 SHORT_DESC="Dirac video compression library" |
domcox@14011 | 7 MAINTAINER="domcox@slitaz.org" |
pascal@15022 | 8 LICENSE="MPL LGPL GPL MIT" |
domcox@14011 | 9 WEB_SITE="http://diracvideo.org/" |
domcox@14011 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@24976 | 11 WGET_URL="http://download.videolan.org/contrib/$TARBALL" |
al@14742 | 12 |
domcox@14011 | 13 DEPENDS="orc" |
domcox@14011 | 14 BUILD_DEPENDS="orc-dev" |
domcox@14011 | 15 |
pascal@24535 | 16 # What is the latest version available today? |
pascal@24535 | 17 current_version() |
pascal@24535 | 18 { |
pascal@24535 | 19 wget -O - https://github.com/Distrotech/dirac/tags 2>/dev/null | \ |
pascal@24535 | 20 sed '/schroedinger/!d;/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q' |
pascal@24535 | 21 } |
pascal@24535 | 22 |
domcox@14011 | 23 # Rules to configure and make the package. |
domcox@14011 | 24 compile_rules() |
domcox@14011 | 25 { |
domcox@14011 | 26 ./configure \ |
domcox@14011 | 27 --disable-static \ |
domcox@14011 | 28 $CONFIGURE_ARGS && \ |
domcox@14011 | 29 make && make install |
domcox@14011 | 30 } |
domcox@14011 | 31 |
domcox@14011 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@14011 | 33 genpkg_rules() |
domcox@14011 | 34 { |
domcox@14011 | 35 mkdir -p $fs/usr/lib |
domcox@14011 | 36 mv $install/usr/lib/*.so* $fs/usr/lib |
domcox@14011 | 37 } |