contrib/smpeg/Pkgfile

22 lines
416 B
Plaintext
Raw Normal View History

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