1 # Maintainer: Sergio A. Morales <sergiomorales@archlinux.cl>
2 # Contributor: Sergio A. Morales <sergiomorales@archlinux.cl>
6 pkgdesc="SSL/TLS module for the Apache HTTP server"
8 url="http://directory.fedoraproject.org/"
10 depends=('apache' 'nss' 'nspr')
11 source=("http://directory.fedoraproject.org/sources/$pkgname-$pkgver.tar.gz")
12 md5sums=("32458d91ce909260a6081cce58004e2f")
15 cd $startdir/src/$pkgname-$pkgver
16 [ "${CARCH}" == "x86_64" ] && export USE_64=1
17 ./configure --disable-rpath --prefix=/usr --sysconfdir=/etc --with-adminutil=/usr
20 mkdir -p $pkgdir/usr/lib/httpd/modules
21 mkdir -p $pkgdir/etc/httpd/conf/extra
22 mkdir -p $pkgdir/usr/sbin
24 install -m 644 nss.conf $pkgdir/etc/httpd/conf/extra
25 install -m 755 .libs/libmodnss.so $pkgdir/usr/lib/httpd/modules
26 install -m 755 nss_pcache $pkgdir/usr/sbin
27 install -m 755 gencert $pkgdir/usr/sbin
29 perl -pi -e "s:/usr/lib:/usr/bin:" $pkgdir/usr/sbin/gencert