wok annotate vcdimager/receipt @ rev 25188
xorg-imake: update create-lib-cmd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 12 14:15:49 2022 +0000 (2022-07-12) |
parents | 4a6cec986bf8 |
children |
rev | line source |
---|---|
jozee@2732 | 1 # SliTaz package receipt |
jozee@2732 | 2 |
jozee@2732 | 3 PACKAGE="vcdimager" |
pascal@21159 | 4 VERSION="2.0.1" |
jozee@2732 | 5 CATEGORY="multimedia" |
jozee@2732 | 6 SHORT_DESC="vcd tools" |
jozee@2732 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15363 | 8 LICENSE="GPL2" |
jozee@2732 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2732 | 10 WEB_SITE="http://www.vcdimager.org/" |
pascal@24415 | 11 WGET_URL="http://ftp.gnu.org/gnu/vcdimager/$TARBALL" |
jozee@4975 | 12 TAGS="multimedia video vcd" |
jozee@2732 | 13 |
pascal@15363 | 14 DEPENDS="libcdio libxml2 popt" |
pascal@15363 | 15 BUILD_DEPENDS="libcdio libcdio-dev libxml2-dev popt-dev" |
pascal@15363 | 16 |
pascal@24415 | 17 # What is the latest version available today? |
pascal@24415 | 18 current_version() |
pascal@24415 | 19 { |
pascal@24415 | 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24415 | 21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q |
pascal@24415 | 22 } |
pascal@24415 | 23 |
jozee@2732 | 24 # Rules to configure and make the package. |
jozee@2732 | 25 compile_rules() |
jozee@2732 | 26 { |
slaxemulator@10062 | 27 ./configure $CONFIGURE_ARGS && |
slaxemulator@10062 | 28 make && make install |
jozee@2732 | 29 } |
jozee@2732 | 30 |
jozee@2732 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2732 | 32 genpkg_rules() |
jozee@2732 | 33 { |
pascal@21159 | 34 mkdir -p $fs/usr/lib |
pascal@21159 | 35 cp -a $install/usr/bin $fs/usr |
pascal@21159 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
jozee@2732 | 37 } |