slitaz-arm view wok/xorg-xf86-video-rpi/receipt @ rev 219

dot command may not search current directory first
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 23 13:50:45 2017 +0200 (2017-07-23)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-rpi"
4 VERSION="0.2.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Raspberry Pi DDX driver for XFree86 server."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL"
9 SOURCE="xf86-video-rpi"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://github.com/Factoid/xf86-video-rpi"
12 WGET_URL="${WEB_SITE}/archive/${VERSION}.tar.gz"
13 HOST_ARCH="arm"
15 BUILD_DEPENDS="xorg-server-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 if [ ! -d "/opt/vc/include" ]; then
21 echo "Missing Raspberry PI VideoCore files..."
22 return 1
23 fi
24 autoconf && automake
25 ./configure \
26 --sysconfdir=/etc \
27 $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib/X11/modules/drivers/
35 cp -a $install/usr/lib/X11/modules/drivers/*.so \
36 $fs/usr/lib/X11/modules/drivers/
37 }