wok rev 2668
Patch libmad-dev for mad.pc
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Sun Apr 19 09:59:44 2009 +0000 (2009-04-19) |
parents | 17c3d9250fd0 |
children | cc64280dc6ff |
files | libmad-dev/receipt |
line diff
1.1 --- a/libmad-dev/receipt Sat Apr 18 18:03:51 2009 +0000 1.2 +++ b/libmad-dev/receipt Sun Apr 19 09:59:44 2009 +0000 1.3 @@ -14,5 +14,22 @@ 1.4 mkdir -p $fs/usr/lib 1.5 cp -a $_pkg/usr/include $fs/usr 1.6 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.7 + 1.8 + # mad.pc patch 1.9 + mkdir -p $fs/usr/lib/pkgconfig 1.10 + cat > $fs/usr/lib/pkgconfig/mad.pc << "EOF" 1.11 +prefix=/usr 1.12 +exec_prefix=${prefix} 1.13 +libdir=${exec_prefix}/lib 1.14 +includedir=${prefix}/include 1.15 + 1.16 +Name: mad 1.17 +Description: MPEG audio decoder 1.18 +Version: $VERSION 1.19 + 1.20 +Libs: -L${libdir} -lmad 1.21 +Cflags: -I${includedir} 1.22 +EOF 1.23 + 1.24 } 1.25