New package: flao-0.1
This commit is contained in:
parent
89f9e0e1e4
commit
a0f8ba4edf
2 changed files with 36 additions and 0 deletions
15
srcpkgs/flao/patches/config.patch
Normal file
15
srcpkgs/flao/patches/config.patch
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
--- config.mk.orig 2016-04-29 23:34:15.698113125 +0200
|
||||||
|
+++ config.mk 2016-04-29 23:34:56.523115232 +0200
|
||||||
|
@@ -1,9 +1,9 @@
|
||||||
|
INCS = -I.
|
||||||
|
LIBS = -lao -lFLAC
|
||||||
|
|
||||||
|
-CC = cc
|
||||||
|
-CFLAGS = -Wall -O2 $(INCS)
|
||||||
|
-LDFLAGS = -s $(LIBS)
|
||||||
|
+CC ?= cc
|
||||||
|
+CFLAGS += -Wall $(INCS)
|
||||||
|
+LDFLAGS += $(LIBS)
|
||||||
|
|
||||||
|
PREFIX = /usr/local
|
||||||
|
MANPREFIX = $(PREFIX)/share/man
|
21
srcpkgs/flao/template
Normal file
21
srcpkgs/flao/template
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# Template file for 'flao'
|
||||||
|
pkgname=flao
|
||||||
|
version=0.1
|
||||||
|
revision=1
|
||||||
|
makedepends="libflac-devel libao-devel"
|
||||||
|
short_desc="A simple player for FLAC audio files"
|
||||||
|
maintainer="Michael Gehring <mg@ebfe.org>"
|
||||||
|
license="Public Domain"
|
||||||
|
homepage="http://sigwinch.xyz/software/flao"
|
||||||
|
distfiles="http://sigwinch.xyz/software/_files/flao-${version}.tar.bz2"
|
||||||
|
checksum=1130de75e74c5dcd12dedc63ae98c5ce84af9a3d24423e3ece00cb6bb05f018c
|
||||||
|
|
||||||
|
LDFLAGS="-Wl,--no-as-needed"
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
make PREFIX=/usr DESTDIR="${DESTDIR}" install
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue