wok-6.x view cclcfox/receipt @ rev 15602
Use DESTDIR
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 05 20:42:36 2013 +0000 (2013-12-05) |
parents | 3b1a2605b677 |
children | 17e313b5b9c1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cclcfox"
4 VERSION="0.7.0"
5 CATEGORY="development"
6 SHORT_DESC="server gui for libccls"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://ccl.sourceforge.net"
11 WGET_URL="http://nchc.dl.sourceforge.net/project/ccl/cclcfox/0.7.0/$TARBALL"
13 DEPENDS="libcclc fox14"
14 BUILD_DEPENDS="libcclc-dev fox14-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 }