wok view mpg123-dev/receipt @ rev 16111

Why on ARM mpg123 install plugins in /usr/lib/mpg123 but not on i486 but it works...
author Christophe Lincoln <pankso@slitaz.org>
date Thu Mar 20 23:46:48 2014 +0100 (2014-03-20)
parents b5fd8eaca2f3
children ccb0dea76bf8
line source
1 # SliTaz package receipt.
3 PACKAGE="mpg123-dev"
4 VERSION="1.18.1"
5 CATEGORY="development"
6 SHORT_DESC="mpg123 development files"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="LGPL2.1"
9 WANTED="mpg123"
10 WEB_SITE="http://www.mpg123.de"
11 HOST_ARCH="i486 arm"
13 DEPENDS="mpg123 pkg-config"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/usr/lib
19 cp -a $install/usr/include $fs/usr
20 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
21 cp -a $install/usr/lib/*.la $fs/usr/lib
22 # ARM
23 if [ -d "$install/usr/lib/mpg123" ]; then
24 cp -a $install/usr/lib/mpg123 $fs/usr/lib
25 find $fs/usr/lib -name "*.so" -exec rm -f {} \;
26 fi
27 }