summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-12-07 15:10:48 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-12-07 15:10:48 (GMT)
commit38d1054df6d8faafb607a3b8804f6c3ea3de2014 (patch)
tree51cb2ba00366c5f866c0a9e5344ddf8a42648592 /abs
parentd5ad4049ff57099d8e9c97eb5f0232d44fb97383 (diff)
downloadlinhes_pkgbuild-38d1054df6d8faafb607a3b8804f6c3ea3de2014.zip
linhes_pkgbuild-38d1054df6d8faafb607a3b8804f6c3ea3de2014.tar.gz
linhes_pkgbuild-38d1054df6d8faafb607a3b8804f6c3ea3de2014.tar.bz2
nss-myhostname: 0.3
Diffstat (limited to 'abs')
-rw-r--r--abs/core/nss-myhostname/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/abs/core/nss-myhostname/PKGBUILD b/abs/core/nss-myhostname/PKGBUILD
new file mode 100644
index 0000000..b07e308
--- /dev/null
+++ b/abs/core/nss-myhostname/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 169661 2012-10-25 10:06:26Z tomegun $
+# Maintainer: Tom Gundersen <teg@jklm.no>
+# Contributor: Mantas M. <grawity@gmail.com>
+pkgname="nss-myhostname"
+pkgver=0.3
+pkgrel=3
+pkgdesc="NSS plugin providing host name resolution for the locally configured system hostname"
+arch=(i686 x86_64)
+url="http://0pointer.de/lennart/projects/nss-myhostname/"
+license=('LGPL2.1')
+depends=('glibc')
+groups=('base')
+source=("http://0pointer.de/lennart/projects/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-lynx
+ make
+}
+
+package() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
+
+md5sums=('d4ab9ac36c053ab8fb836db1cbd4a48f')