summaryrefslogtreecommitdiff
path: root/strata/x-common/drm.morph
blob: 99cea8c05aab5483206e7b24e9eea30ae508f415 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: drm
kind: chunk
build-system: autotools
configure-commands:
  - NOCONFIGURE=1 ./autogen.sh
  - |
    set -x
    if test "$MORPH_ARCH" = "armv7lhf"; then
      TEGRA=--enable-tegra-experimental-api
    else
      TEGRA=
    fi
    ./configure --prefix="$PREFIX" $TEGRA
install-commands:
  - make install DESTDIR="$DESTDIR"
  - |
    if test -e tegra/libdrm_tegra.la; then
      mkdir -p "$DESTDIR"/usr/lib/pkgconfig
      /usr/bin/install -c -m 644 tegra/libdrm_tegra.pc "$DESTDIR"/usr/lib/pkgconfig
    fi