Skip to content

Instantly share code, notes, and snippets.

@abique
Created March 7, 2014 07:57
Show Gist options
  • Save abique/9407283 to your computer and use it in GitHub Desktop.
Save abique/9407283 to your computer and use it in GitHub Desktop.
Openswan
# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
# Maintainer: <>
pkgname=libreswan
pkgver=3.8
pkgrel=1
pkgdesc=""
arch=('i686' 'x86_64')
url="https://www.libreswan.org/"
license=('GPLv2')
groups=()
depends=(unbound)
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz)
md5sums=('aed8b3d5e6cf4d984ebd795185a38c96')
# prepare() {
# cd $pkgname-$pkgver
# patch -p1 -i "$srcdir/$pkgname-$pkgver.patch"
# }
build() {
cd $pkgname-$pkgver
make programs
}
# check() {
# cd $pkgname-$pkgver
# make -k check
# }
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir/" INC_USRLOCAL=/usr install
}
# vim:set ts=2 sw=2 et:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment