wok view gnupg/receipt @ rev 7674

Fixed linux. Need to make folder PWD/_pkg before adding bzImage to it. Also i'm force copying kernel config file now so we have the right config. It is copyed twice so its needed and doesn't hunt anything i think.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 16 17:16:06 2010 +0000 (2010-12-16)
parents b084f9ed4a92
children b8c8268b94bd
line source
1 # SliTaz package receipt.
3 PACKAGE="gnupg"
4 VERSION="2.0.16"
5 CATEGORY="security"
6 SHORT_DESC="Free implementation of the OpenPGP."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="libusb bzlib libcurl openssl readline zlib libgpg-error pth libksba \
9 libgcrypt libassuan"
10 BUILD_DEPENDS="$DEPENDS libusb-dev openssl-dev readline-dev zlib-dev libgpg-error-dev
11 pth-dev libgcrypt-dev libksba-dev pkg-config"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.gnupg.org/"
14 WGET_URL="ftp://ftp.gnupg.org/gcrypt/gnupg/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --libexecdir=/usr/lib \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 --disable-ldap \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib $fs/usr
37 ln -s gpg2 $fs/usr/bin/gpg
38 cp -a $_pkg/usr/share/gnupg $fs/usr/share
39 # Chmod for gnup-zip
40 chmod 755 $fs/usr/bin/*
41 }