wok-next view matio/receipt @ rev 20486

outguess: fix install path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 12 10:46:52 2018 +0100 (2018-03-12)
parents 4ba8f9c4b80e
children 9e5dca6702bf
line source
1 # SliTaz package receipt v2.
3 PACKAGE="matio"
4 VERSION="1.5.2"
5 CATEGORY="development"
6 SHORT_DESC="MAT File I/O Library"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://sourceforge.net/projects/matio/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 SPLIT="matio-dev"
16 compile_rules() {
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 matio)
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 DEPENDS="zlib"
33 ;;
34 *-dev)
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/include $fs/usr
37 cp -a $install/usr/lib/*a $fs/usr/lib
38 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
39 ;;
40 esac
41 }