wok view libofx/receipt @ rev 10962
Fixed opencc CATEGORY. Don't use pushd and popd cause build bot may not use bash. Some clean up.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Sep 20 10:22:35 2011 +0000 (2011-09-20) |
parents | 9af1fe7ff6a8 |
children | 82aa64f4d60d |
line source
1 # SliTaz package receipt.
3 PACKAGE="libofx"
4 VERSION="0.9.1"
5 CATEGORY="misc"
6 SHORT_DESC="OFX parser library"
7 MAINTAINER="remyhr@free.fr"
8 DEPENDS="opensp"
9 BUILD_DEPENDS="slitaz-toolchain opensp-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://libofx.sourceforge.net/"
12 WGET_URL="http://sourceforge.net/projects/$PACKAGE/files/$PACKAGE/$VERSION/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 patch -p1 -i $stuff/libofx-0.9.1-include-cxx-headers.patch
19 ./configure --prefix=/usr $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/bin $fs/usr/include /usr/lib
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/include $fs/usr
30 cp -a $_pkg/usr/lib $fs/usr
32 }