wok-6.x annotate xorg-xf86-video-v4l/receipt @ rev 25015
Add bzip3
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 17 11:06:25 2022 +0000 (2022-05-17) |
parents | bdf615a85cda |
children |
rev | line source |
---|---|
jozee@4490 | 1 # SliTaz package receipt. |
jozee@4490 | 2 |
jozee@4490 | 3 PACKAGE="xorg-xf86-video-v4l" |
Hans-G?nter@22283 | 4 VERSION="0.3.0" |
jozee@4490 | 5 CATEGORY="x-window" |
Hans-G?nter@22283 | 6 SHORT_DESC="X.org v4l video driver." |
jozee@4490 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
Hans-G?nter@22283 | 9 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22283 | 10 |
jozee@4490 | 11 SOURCE="xf86-video-v4l" |
jozee@4490 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
Hans-G?nter@22283 | 13 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
jozee@4490 | 14 |
pankso@12530 | 15 DEPENDS="xorg-server" |
pankso@12530 | 16 BUILD_DEPENDS="xorg-server-dev" |
pankso@12530 | 17 |
pankso@12530 | 18 MODS='/usr/lib/X11/modules' |
pankso@12530 | 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 |
jozee@4490 | 26 # Rules to configure and make the package. |
pankso@12530 | 27 compile_rules() |
pankso@12530 | 28 { |
Hans-G?nter@22283 | 29 ./configure \ |
Hans-G?nter@22283 | 30 --sysconfdir=/etc \ |
Hans-G?nter@22283 | 31 --mandir=/usr/share/man \ |
Hans-G?nter@22283 | 32 --localstatedir=/var \ |
Hans-G?nter@22283 | 33 --with-xorg-module-dir=$MODS \ |
pankso@12530 | 34 $CONFIGURE_ARGS && |
Hans-G?nter@22283 | 35 make && |
Hans-G?nter@22283 | 36 make install |
pankso@12530 | 37 } |
jozee@4490 | 38 |
jozee@4490 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4490 | 40 genpkg_rules() |
jozee@4490 | 41 { |
pankso@12530 | 42 mkdir -p ${fs}${MODS}/drivers |
pankso@12530 | 43 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers |
jozee@4490 | 44 } |