summaryrefslogtreecommitdiff
path: root/repo/media/libraw.xibuild
blob: 5a063974a980c003660887bae14ffa1505093f21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh

NAME="libraw"
DESC="Library for reading RAW files obtained from digital photo cameras"

MAKEDEPS="make "
DEPS="musl "

PKG_VER=0.20.2
SOURCE="https://www.libraw.org/data/LibRaw-$PKG_VER.tar.gz"

prepare () {
    autoreconf -fi
}

build () {
    ./configure \
        --prefix=/usr \
        --bindir=/usr/bin \
        --sysconfdir=/etc \
        --disable-static
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}