wok annotate libdrm/receipt @ rev 14604
Xorg marathon. Day 1. (Carefully check versions, (build-)depends, pretty-print receipts)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 31 00:58:07 2013 +0000 (2013-05-31) |
parents | 23513697e140 |
children | 65c88ca46854 |
rev | line source |
---|---|
pankso@3006 | 1 # SliTaz package receipt. |
pankso@3006 | 2 |
pankso@3006 | 3 PACKAGE="libdrm" |
devl547@13798 | 4 VERSION="2.4.40" |
pankso@3006 | 5 CATEGORY="x-window" |
pankso@3006 | 6 SHORT_DESC="Freedesktop DRM Library." |
pankso@3006 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@3006 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@3006 | 9 WEB_SITE="http://dri.freedesktop.org/" |
pankso@3006 | 10 WGET_URL="http://dri.freedesktop.org/libdrm/$TARBALL" |
pankso@3006 | 11 |
pankso@12528 | 12 DEPENDS="glibc-base udev linux-drm xorg-libpciaccess" |
pankso@12528 | 13 BUILD_DEPENDS="xorg-dev xorg-dev-proto libpthread-stubs gc-dev pkg-config \ |
pankso@12528 | 14 udev-dev xorg-libpciaccess-dev" |
pankso@12528 | 15 |
pankso@3006 | 16 # Rules to configure and make the package. |
pankso@3006 | 17 compile_rules() |
pankso@12528 | 18 { |
pankso@3006 | 19 cd $src |
pankso@3006 | 20 ./configure \ |
pankso@12528 | 21 --enable-intel \ |
pankso@12528 | 22 --enable-radeon \ |
pankso@12528 | 23 --enable-vmwgfx-experimental-api \ |
pankso@12528 | 24 --enable-nouveau-experimental-api \ |
pankso@12528 | 25 --enable-udev \ |
pankso@12528 | 26 $CONFIGURE_ARGS && |
pankso@12528 | 27 make && make install |
pankso@3006 | 28 } |
pankso@3006 | 29 |
pankso@3006 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3006 | 31 genpkg_rules() |
pankso@3006 | 32 { |
pankso@3006 | 33 mkdir -p $fs/usr/lib |
pascal@12800 | 34 cp -a $install/usr/lib/libdrm.so* $fs/usr/lib |
pankso@12528 | 35 cp -a $install/usr/lib/libkms*.so* $fs/usr/lib |
pankso@3006 | 36 } |