2008-02-20 00:16:46 +11:00
|
|
|
# Description: A SDL MPEG player library.
|
2016-01-03 12:36:38 +11:00
|
|
|
# URL: http://icculus.org/smpeg/
|
2014-11-10 23:28:07 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2016-01-03 12:36:38 +11:00
|
|
|
# Depends on: glu libsdl
|
2008-02-20 00:16:46 +11:00
|
|
|
|
|
|
|
name=smpeg
|
2016-01-03 12:36:38 +11:00
|
|
|
version=0.4.5
|
2017-06-19 08:35:27 +10:00
|
|
|
release=2
|
2016-01-03 12:36:38 +11:00
|
|
|
source=(http://crux.ster.zone/downloads/$name/$name-$version.tar.xz)
|
2008-02-20 00:16:46 +11:00
|
|
|
|
|
|
|
build() {
|
2016-01-03 12:36:38 +11:00
|
|
|
cd $name-$version
|
2008-02-20 00:16:46 +11:00
|
|
|
|
2017-06-19 08:35:27 +10:00
|
|
|
CFLAGS+=' -Wno-error=narrowing'
|
2008-02-20 00:16:46 +11:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2016-01-03 12:36:38 +11:00
|
|
|
--mandir=/usr/share/man
|
2008-02-20 00:16:46 +11:00
|
|
|
|
|
|
|
make
|
|
|
|
make install DESTDIR=$PKG
|
|
|
|
}
|