Magellan Linux

Contents of /branches/magellan-next/core/ca-certificates/ca-certificates-20111211-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9791 - (show annotations) (download)
Wed Jan 11 19:25:22 2012 UTC (12 years, 5 months ago) by niro
File size: 1337 byte(s)
auto added: ver bump to 20111211-r1
1 # $Id$
2
3 PNAME="ca-certificates"
4 PVER="20111211"
5 PBUILD="r1"
6
7 PCATEGORIE="dev-util"
8
9 DESCRIPTION="Common CA certificates."
10 HOMEPAGE="http://packages.qa.debian.org/c/ca-certificates.html"
11
12 DEPEND=">= dev-libs/openssl-1
13 >= app-shells/bash-4.2
14 >= sys-apps/coreutils-8
15 >= sys-apps/debian-utils-2
16 >= sys-apps/findutils-4.4
17 >= sys-apps/sed-4"
18
19 SDEPEND=">= dev-lang/python-2.7"
20
21 SRCFILE="${PNAME}-${PVER}.tar.gz"
22 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
23
24 sminclude mbuild mtools
25
26 SRC_URI=(
27 http://ftp.debian.org/debian/pool/main/c/${PNAME}/${SRCFILE}
28 mirror://${PNAME}/${SRCFILE}
29 )
30
31 UP2DATE="updatecmd 'http://ftp.debian.org/debian/pool/main/c/${PNAME}?C=M;O=A' | lasttarball gz"
32
33 src_compile()
34 {
35 cd ${SRCDIR}
36 mmake || die
37 }
38
39 src_install()
40 {
41 cd ${SRCDIR}
42
43 # create cert directory structure
44 minstalldir /etc/ca-certificates/update.d || die
45 minstalldir /etc/ssl/certs || die
46 minstalldir /usr/sbin || die
47 minstalldir /usr/share/ca-certificates || die
48
49 mmake DESTDIR=${BINDIR} install || die
50
51 # create certs config
52 MCONFIG="/etc/ca-certificates.conf"
53 mclearconfig
54 maddconfig "# Automatically generated by ${PKGNAME}-${PVER}-${PBUILD}"
55 maddconfig '# Do not modifiy, see update-ca-certificates man page'
56 maddconfig '#'
57 cd ${BINDIR}/usr/share/ca-certificates
58 find . -name '*.crt' | sort | cut -b3- >> ${BINDIR}/${MCONFIG} || die
59 }