wok view chmlib/receipt @ rev 12088

busybox: su should not chdir (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 10 09:31:50 2012 +0100 (2012-03-10)
parents f7e96b8e3444
children eb8067417980
line source
1 # SliTaz package receipt.
3 PACKAGE="chmlib"
4 VERSION="0.40"
5 CATEGORY="misc"
6 SHORT_DESC="library for dealing with CHM format or windows help files"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.jedrea.com/chmlib"
11 WGET_URL="http://www.jedrea.com/chmlib/$TARBALL"
12 TAGS="CHM windows"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib/
29 }