mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 18:02:57 +02:00
New package: vgmplay-0.40.8
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
489ca4f834
commit
c8ee909417
1 changed files with 26 additions and 0 deletions
26
srcpkgs/vgmplay/template
Normal file
26
srcpkgs/vgmplay/template
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# Template file for 'vgmplay'
|
||||||
|
pkgname=vgmplay
|
||||||
|
version=0.40.8
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-makefile
|
||||||
|
build_wrksrc="VGMPlay"
|
||||||
|
makedepends="libao-devel zlib-devel"
|
||||||
|
short_desc="VGM file player"
|
||||||
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||||
|
license="GPL-2.0-or-later"
|
||||||
|
homepage="https://github.com/vgmrips/vgmplay/"
|
||||||
|
distfiles="https://github.com/vgmrips/vgmplay/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
||||||
|
checksum=3713c8d36202d944e23988e39c9d09f3adf87ef4186c5140841b7dbf419db378
|
||||||
|
|
||||||
|
LDFLAGS="-lm -pthread -lao -lz"
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
sed -i Makefile -e "s;CC = gcc;CC = $CC;"
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
mips-*|mipshf-*) sed -i Makefile -e"s;BYTE_ORDER =;& 2;" ;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
|
pre_install() {
|
||||||
|
vmkdir usr/bin
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue