wok annotate gavl/receipt @ rev 24757
pkg-config: cheat configure
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 18 06:53:58 2022 +0100 (2022-03-18) |
parents | f4c22f009037 |
children | 7dd01dedad38 |
rev | line source |
---|---|
slaxemulator@6844 | 1 # SliTaz package receipt. |
slaxemulator@6844 | 2 |
slaxemulator@6844 | 3 PACKAGE="gavl" |
pankso@13617 | 4 VERSION="1.4.0" |
slaxemulator@6844 | 5 CATEGORY="multimedia" |
slaxemulator@6844 | 6 MAINTAINER="jozee@slitaz.org" |
pascal@15201 | 7 LICENSE="GPL3" |
slaxemulator@6844 | 8 SHORT_DESC="A low level library, upon which multimedia APIs can be built." |
slaxemulator@6844 | 9 WEB_SITE="http://gmerlin.sourceforge.net/" |
slaxemulator@6844 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6844 | 11 WGET_URL="$SF_MIRROR/gmerlin/$TARBALL" |
slaxemulator@6844 | 12 |
pankso@13617 | 13 DEPENDS="glibc-base" |
pankso@13617 | 14 |
pascal@24403 | 15 # What is the latest version available today? |
pascal@24403 | 16 current_version() |
pascal@24403 | 17 { |
pascal@24403 | 18 wget -O - https://sourceforge.net/projects/gmerlin/files/gavl/ 2>/dev/null | \ |
pascal@24403 | 19 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24403 | 20 sed '/scope="row/!d;s|.*/gavl/||;s|/.*||;q' |
pascal@24403 | 21 } |
pascal@24403 | 22 |
slaxemulator@6844 | 23 # Rules to configure and make the package. |
pankso@13617 | 24 compile_rules() |
pankso@13617 | 25 { |
slaxemulator@9075 | 26 cd $src |
slaxemulator@9075 | 27 ./configure --without-doxygen \ |
gokhlayeh@11573 | 28 --with-cpuflags=none $CONFIGURE_ARGS && |
pankso@13617 | 29 make && make install |
slaxemulator@6844 | 30 } |
slaxemulator@6844 | 31 |
slaxemulator@6844 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6844 | 33 genpkg_rules() |
slaxemulator@6844 | 34 { |
slaxemulator@6844 | 35 mkdir -p $fs/usr/lib |
pankso@13617 | 36 cp -a $install/usr/lib/*so* $fs/usr/lib/ |
slaxemulator@6844 | 37 } |