summaryrefslogtreecommitdiff
path: root/repo/media/opus.xibuild
blob: 9bb216790e7c5aab3a985e8d5bcbcf8f28a1dc94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

MAKEDEPS="make"
DEPS="glibc"

DESC="Totally open, royalty-free, highly versatile audio codec"

PKG_VER=1.3.1
SOURCE=https://archive.mozilla.org/pub/opus/opus-$PKG_VER.tar.gz

build () {
    ./configure --prefix=/usr    \
            --disable-static \
            --docdir=/usr/share/doc/opus-$PKG_VER &&
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}