Lines 1-6
Link Here
|
1 |
# Copyright 1999-2004 Gentoo Foundation |
1 |
# Copyright 1999-2004 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-plugins/bmp-midi/bmp-midi-0.01.ebuild,v 1.1 2004/12/20 21:44:48 chainsaw Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
IUSE="" |
5 |
IUSE="" |
6 |
|
6 |
|
Lines 23-31
Link Here
|
23 |
sed -si "s:xmms/plugin.h:beep-media-player/bmp/plugin.h:" mid.h |
23 |
sed -si "s:xmms/plugin.h:beep-media-player/bmp/plugin.h:" mid.h |
24 |
} |
24 |
} |
25 |
|
25 |
|
|
|
26 |
src_compile() { |
27 |
econf --disable-static |
28 |
emake |
29 |
} |
30 |
|
26 |
src_install() { |
31 |
src_install() { |
27 |
make DESTDIR=${D} install || die |
32 |
make DESTDIR=${D} install || die |
28 |
dodoc AUTHORS COPYING NEWS README |
33 |
dodoc ChangeLog README TODO |
|
|
34 |
# fixing libtool links, perhaps there is a smarter solution |
35 |
rm ${D}/usr/lib/bmp/Input/{libmid.so,libmid.so.0} |
36 |
mv ${D}/usr/lib/bmp/Input/libmid.so.0.0.0 ${D}/usr/lib/bmp/Input/libmid.so |
37 |
sed -i -e "s:^\(dlname=\).*$:\1'libmid.so':g" \ |
38 |
-e "s:^\(library_names=\).*$:\1'libmid.so':g" \ |
39 |
${D}/usr/lib/bmp/Input/libmid.la |
29 |
} |
40 |
} |
30 |
|
41 |
|
31 |
pkg_postinst() { |
42 |
pkg_postinst() { |