[arch-commits] Commit in (libnet libnet/repos libnet/trunk libnet/trunk/PKGBUILD)

Giovanni Scafora giovanni at archlinux.org
Sun Nov 4 17:10:53 UTC 2012


    Date: Sunday, November 4, 2012 @ 12:10:52
  Author: giovanni
Revision: 170190

community2extra: Moving libnet from community to extra

Added:
  libnet/
  libnet/repos/
  libnet/trunk/
  libnet/trunk/PKGBUILD

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Added: libnet/trunk/PKGBUILD
===================================================================
--- libnet/trunk/PKGBUILD	                        (rev 0)
+++ libnet/trunk/PKGBUILD	2012-11-04 17:10:52 UTC (rev 170190)
@@ -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"
+}


Property changes on: libnet/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list