wok annotate libdrm/receipt @ rev 15692
dpkg: Fix missing mkdir command
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Dec 21 08:21:32 2013 +0100 (2013-12-21) |
parents | 6c3718ca17b6 |
children | 9921bd529520 |
rev | line source |
---|---|
pankso@3006 | 1 # SliTaz package receipt. |
pankso@3006 | 2 |
pankso@3006 | 3 PACKAGE="libdrm" |
pascal@14727 | 4 VERSION="2.4.45" |
pankso@3006 | 5 CATEGORY="x-window" |
pankso@3006 | 6 SHORT_DESC="Freedesktop DRM Library." |
pankso@3006 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15472 | 8 LICENSE="MIT" |
pankso@3006 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@3006 | 10 WEB_SITE="http://dri.freedesktop.org/" |
pankso@3006 | 11 WGET_URL="http://dri.freedesktop.org/libdrm/$TARBALL" |
pankso@3006 | 12 |
pankso@12528 | 13 DEPENDS="glibc-base udev linux-drm xorg-libpciaccess" |
pascal@15646 | 14 BUILD_DEPENDS="xorg-dev xorg-dev-proto libpthread-stubs-dev gc-dev pkg-config \ |
pankso@12528 | 15 udev-dev xorg-libpciaccess-dev" |
pankso@12528 | 16 |
pankso@3006 | 17 # Rules to configure and make the package. |
pankso@3006 | 18 compile_rules() |
pankso@12528 | 19 { |
pankso@3006 | 20 cd $src |
pankso@3006 | 21 ./configure \ |
pankso@12528 | 22 --enable-intel \ |
pankso@12528 | 23 --enable-radeon \ |
pankso@12528 | 24 --enable-vmwgfx-experimental-api \ |
pankso@12528 | 25 --enable-nouveau-experimental-api \ |
pankso@12528 | 26 --enable-udev \ |
pankso@12528 | 27 $CONFIGURE_ARGS && |
pankso@12528 | 28 make && make install |
pankso@3006 | 29 } |
pankso@3006 | 30 |
pankso@3006 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3006 | 32 genpkg_rules() |
pankso@3006 | 33 { |
pankso@3006 | 34 mkdir -p $fs/usr/lib |
pascal@12800 | 35 cp -a $install/usr/lib/libdrm.so* $fs/usr/lib |
pankso@12528 | 36 cp -a $install/usr/lib/libkms*.so* $fs/usr/lib |
pankso@3006 | 37 } |