Reorganize the templates directory for possible future changes.
Now every template uses its own directory. Patches, prepost* files and other related stuff are stored there. --HG-- extra : convert_revision : bbc529ef161d9a59fe13a1d54ac058f77ea05845
This commit is contained in:
parent
6c252d43d4
commit
fa2748d9b2
291 changed files with 25 additions and 24 deletions
11
templates/openssl/openssl-fix-install.diff
Normal file
11
templates/openssl/openssl-fix-install.diff
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- Makefile.org.orig 2008-10-24 06:41:08.000000000 +0200
|
||||
+++ Makefile.org 2008-10-24 06:41:24.000000000 +0200
|
||||
@@ -125,7 +125,7 @@ TESTS = alltests
|
||||
|
||||
MAKEFILE= Makefile
|
||||
|
||||
-MANDIR=$(OPENSSLDIR)/man
|
||||
+MANDIR=$(INSTALLTOP)/share/man
|
||||
MAN1=1
|
||||
MAN3=3
|
||||
MANSUFFIX=
|
37
templates/openssl/template
Normal file
37
templates/openssl/template
Normal file
|
@ -0,0 +1,37 @@
|
|||
# Template file for 'openssl'
|
||||
pkgname=openssl
|
||||
version=0.9.8i
|
||||
distfiles="http://www.openssl.org/source/$pkgname-$version.tar.gz"
|
||||
build_style=configure
|
||||
configure_script="./Configure"
|
||||
configure_args="--prefix=/usr
|
||||
--install_prefix=$XBPS_DESTDIR/$pkgname-$version --openssldir=/etc/ssl
|
||||
zlib-dynamic shared threads"
|
||||
make_build_target="all"
|
||||
short_desc="Secure Socket Layer and cryptographic library"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=e8fc5fcfb715ffe925b2982aa9ca287832a93495d7fff03f17f6449f0732718c
|
||||
long_desc="
|
||||
The OpenSSL Project is a collaborative effort to develop a robust,
|
||||
commercial-grade, full-featured, and Open Source toolkit implementing the
|
||||
Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1)
|
||||
protocols as well as a full-strength general purpose cryptography library."
|
||||
|
||||
# Does not build with -j.
|
||||
disable_parallel_build=yes
|
||||
keep_dirs="/etc/ssl"
|
||||
conf_files="/etc/ssl/openssl.cnf"
|
||||
build_depends="perl-5.10.0 zlib-1.2.3"
|
||||
run_depends="glibc-2.8 zlib-1.2.3"
|
||||
|
||||
if [ "$xbps_machine" = "x86_64" ]; then
|
||||
configure_args="$configure_args linux-x86_64"
|
||||
else
|
||||
configure_args="$configure_args linux-elf"
|
||||
fi
|
||||
|
||||
post_install()
|
||||
{
|
||||
# Grr. Stupid Makefile, remove stuff installed in wrong dir.
|
||||
rm -rf $XBPS_DESTDIR/$pkgname-$version/usr/usr
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue