[arch-commits] Commit in libnet/repos (4 files)
Giovanni Scafora
giovanni at archlinux.org
Sun Nov 4 17:11:23 UTC 2012
Date: Sunday, November 4, 2012 @ 12:11:22
Author: giovanni
Revision: 170191
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
libnet/repos/extra-i686/
libnet/repos/extra-i686/PKGBUILD
(from rev 170190, libnet/trunk/PKGBUILD)
libnet/repos/extra-x86_64/
libnet/repos/extra-x86_64/PKGBUILD
(from rev 170190, libnet/trunk/PKGBUILD)
-----------------------+
extra-i686/PKGBUILD | 29 +++++++++++++++++++++++++++++
extra-x86_64/PKGBUILD | 29 +++++++++++++++++++++++++++++
2 files changed, 58 insertions(+)
Copied: libnet/repos/extra-i686/PKGBUILD (from rev 170190, libnet/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2012-11-04 17:11:22 UTC (rev 170191)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer:
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=libnet
+pkgver=1.1.6
+pkgrel=1
+pkgdesc="A library which provides API for commonly used low-level net functions"
+arch=('i686' 'x86_64')
+url="http://sourceforge.net/projects/libnet-dev/"
+license=('BSD')
+depends=('glibc' 'sh')
+options=('!libtool')
+source=("http://downloads.sourceforge.net/libnet-dev/${pkgname}-${pkgver}.tar.gz")
+md5sums=('710296fe424a49344e5fcc0d09e53317')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make CFLAGS="${CFLAGS} -fPIC"
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm644 doc/COPYING \
+ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
Copied: libnet/repos/extra-x86_64/PKGBUILD (from rev 170190, libnet/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2012-11-04 17:11:22 UTC (rev 170191)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer:
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=libnet
+pkgver=1.1.6
+pkgrel=1
+pkgdesc="A library which provides API for commonly used low-level net functions"
+arch=('i686' 'x86_64')
+url="http://sourceforge.net/projects/libnet-dev/"
+license=('BSD')
+depends=('glibc' 'sh')
+options=('!libtool')
+source=("http://downloads.sourceforge.net/libnet-dev/${pkgname}-${pkgver}.tar.gz")
+md5sums=('710296fe424a49344e5fcc0d09e53317')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make CFLAGS="${CFLAGS} -fPIC"
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm644 doc/COPYING \
+ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list