blob: 69673365f22553400e0522d6742f871f9a323a9e (
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="x264"
DESC="Free library for encoding H264/AVC video streams"
MAKEDEPS="make libx11 perl nasm toybox bash"
DEPS="musl "
PKG_VER=0.163_git20210613
gitrev=master
SOURCE="https://code.videolan.org/videolan/x264/-/archive/$gitrev/x264-$gitrev.tar.gz"
build () {
./configure \
--prefix=/usr
--bindir=/usr/bin \
--sysconfdir=/etc \
--disable-static \
--enable-shared \
--enable-pic \
--extra-cflags=-fno-agressive-loop-optimizations
make
}
package () {
make DESTDIR=$PKG_DEST bindir=/usr/bin libdir=/usr/lib includedir=/usr/include install
}
|