summaryrefslogtreecommitdiff
path: root/repo/media/xvidcore/xvidcore.xibuild
blob: 6ffce5a4461361c29cf683e119d90bb18fbcd596 (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
#!/bin/sh

NAME="xvidcore"
DESC="XviD is an open source MPEG-4 video codec"

MAKEDEPS="make "
DEPS="musl "

PKG_VER=1.3.7
SOURCE="https://downloads.xvid.com/downloads/xvidcore-$PKG_VER.tar.bz2"

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

package () {
    make DESTDIR=$PKG_DEST install
}