wok annotate cclcfox/receipt @ rev 10274

ncurses*: build fail if native build system is used so use the compiler machine type
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 21 21:22:47 2011 +0200 (2011-05-21)
parents
children 3b1a2605b677
rev   line source
allan316@3739 1 # SliTaz package receipt.
allan316@3739 2
allan316@3739 3 PACKAGE="cclcfox"
allan316@3739 4 VERSION="0.7.0"
allan316@3739 5 CATEGORY="development"
allan316@3739 6 SHORT_DESC="server gui for libccls"
allan316@3739 7 MAINTAINER="allan316@gmail.com"
allan316@3739 8 DEPENDS="libcclc fox14"
allan316@3739 9 BUILD_DEPENDS="libcclc-dev fox14-dev"
allan316@3739 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
allan316@3739 11 WEB_SITE="http://ccl.sourceforge.net"
allan316@3739 12 WGET_URL="http://nchc.dl.sourceforge.net/project/ccl/cclcfox/0.7.0/$TARBALL"
allan316@3739 13
allan316@3739 14 # Rules to configure and make the package.
allan316@3739 15 compile_rules()
allan316@3739 16 {
allan316@3739 17 cd $src
allan316@3739 18 ./configure \
allan316@3739 19 --prefix=/usr \
allan316@3739 20 --infodir=/usr/share/info \
allan316@3739 21 --mandir=/usr/share/man \
allan316@3739 22 $CONFIGURE_ARGS &&
allan316@3739 23 make && make DESTDIR=$PWD/_pkg install
allan316@3739 24 }
allan316@3739 25
allan316@3739 26 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3739 27 genpkg_rules()
allan316@3739 28 {
allan316@3739 29 mkdir -p $fs/usr
allan316@3739 30 cp -a $_pkg/usr/bin $fs/usr
allan316@3739 31 }
allan316@3739 32