sdl_mixer: use bash to compile

This commit is contained in:
Danny Rawlins 2019-10-12 14:55:22 +11:00
parent 270b66861b
commit 81543333d5
2 changed files with 4 additions and 5 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF30F0fFjZY0NYiDtL8R94Sy25qc7Ddw0l95py2IzdmaDQqoHFbvSnXA5sivRls8srrIaE4c+rG35Y8rS7rbb0Fwk=
SHA256 (Pkgfile) = 9f097b212b4f465e5b81da3fd93ff8c8c2b34e79921124da4fa87d5f5eb54fe2
RWSagIOpLGJF3+7e7CEUfZkc4ZU9h+NqswhIdDckLZl6HWcT6PPN7uqI03/7n7hmho2al978jNSpwELACvW6RdoOzeAnIDpPtwg=
SHA256 (Pkgfile) = d403fbdc4a88d877ff9f9da7e78499f40e8b114f044c89b4a30445ca2a4c7147
SHA256 (.footprint) = c1593123daee91b932d5cadbcb15f7b53bcaedc287ef5db045428d2c582d9176
SHA256 (SDL_mixer-1.2.12.tar.gz) = 1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a

View File

@ -1,18 +1,17 @@
# Description: A sample multi-channel audio mixer library.
# URL: http://www.libsdl.org/projects/SDL_mixer/
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: Simone Rota, sip at crux dot nu
# Depends on: libvorbis smpeg libmikmod flac
name=sdl_mixer
version=1.2.12
release=1
source=(http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-$version.tar.gz)
source=(https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-$version.tar.gz)
build() {
cd SDL_mixer-$version
sed -i -e 's|/usr/local/lib/timidity|/usr/share/timidity|g' timidity/config.h
./configure --prefix=/usr
CONFIG_SHELL=/bin/bash ./configure --prefix=/usr
make
make DESTDIR=$PKG install
}