wok-current annotate xorg-libXv/receipt @ rev 24809

created recipes for libmypaint, libmypaint-dev and libmypaint-lang
author Hans-G?nter Theisgen
date Tue Mar 22 16:52:59 2022 +0100 (2022-03-22)
parents 666d642d79cb
children 5926178cd6fa
rev   line source
pankso@290 1 # SliTaz package receipt.
pankso@290 2
pankso@290 3 PACKAGE="xorg-libXv"
Hans-G?nter@22230 4 VERSION="1.0.11"
pankso@290 5 CATEGORY="x-window"
pankso@290 6 SHORT_DESC="Xorg server module."
pankso@290 7 MAINTAINER="pankso@slitaz.org"
pascal@15579 8 LICENSE="MIT"
Hans-G?nter@22230 9 WEB_SITE="https://www.x.org/wiki/"
Hans-G?nter@22230 10
pankso@290 11 SOURCE="libXv"
gokhlayeh@6993 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
pankso@290 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
pankso@290 14
pankso@12518 15 DEPENDS="xorg-libXext"
pankso@12518 16 BUILD_DEPENDS="xorg-libXext-dev xorg-videoproto"
pankso@12518 17
Hans-G?nter@22230 18 HOST_ARCH="i486 arm"
Hans-G?nter@22230 19
pascal@24072 20 current_version()
pascal@24072 21 {
pascal@24072 22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24072 23 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 24 }
pascal@24072 25
pankso@290 26 # Rules to configure and make the package.
pankso@290 27 compile_rules()
pankso@290 28 {
Hans-G?nter@22230 29 ./configure \
Hans-G?nter@22230 30 --sysconfdir=/etc \
Hans-G?nter@22230 31 --mandir=/usr/share/man \
Hans-G?nter@22230 32 --localstatedir=/var \
pankso@12518 33 $CONFIGURE_ARGS &&
Hans-G?nter@22230 34 make &&
Hans-G?nter@22230 35 make install
pankso@290 36 }
pankso@290 37
pankso@290 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@290 39 genpkg_rules()
pankso@290 40 {
pankso@290 41 mkdir -p $fs/usr/lib
pankso@12518 42 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@290 43 }