diff options
author | freaj <freaj@riseup.net> | 2015-03-25 18:56:10 +0100 |
---|---|---|
committer | freaj <freaj@riseup.net> | 2015-03-25 18:56:10 +0100 |
commit | c6c778806c789b2d6df8edc39228dcc6675b9b1f (patch) | |
tree | 5e90b6b6013cebfc7abc54a8cd7f5fe03dd22a83 /pcr/lib32-eudev/PKGBUILD | |
parent | d52d70c5505dd5991d85548227d25d741296ed7d (diff) |
lib32-eudev-2.1.1-1: add new package to [pcr]
Diffstat (limited to 'pcr/lib32-eudev/PKGBUILD')
-rw-r--r-- | pcr/lib32-eudev/PKGBUILD | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/pcr/lib32-eudev/PKGBUILD b/pcr/lib32-eudev/PKGBUILD new file mode 100644 index 000000000..e6237fc95 --- /dev/null +++ b/pcr/lib32-eudev/PKGBUILD @@ -0,0 +1,54 @@ +# Maintainer : freaj <freaj@riseup.net> +# Maintainer (Manjaro): artoo <artoo@manjaro.org> + +_udevver=217 +_gentoo_uri="http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86" +_pkgname=eudev + +pkgname=lib32-eudev +pkgdesc="The userspace dev tools (udev) forked by Gentoo (32-bit)" +pkgver=2.1.1 +pkgrel=1 +arch=('x86_64') +url="http://dev.gentoo.org/~blueness/eudev" +license=('GPL') +depends=('lib32-glib2' 'eudev') +makedepends=('git' 'gcc-multilib' 'lib32-util-linux' 'gobject-introspection' 'gperf' 'python2') +provides=("lib32-udev=${_udevver}") +conflicts=('libgudev-1.0.so' 'libudev.so') +options=(!makeflags !libtool) +source=("${url}/${_pkgname}-${pkgver}.tar.gz") +sha256sums=('6aef101c5496a2dc45e669307d478dbccb0ee0462a285512edcda51ff12e0e6a') + +build() { + + export CC="gcc -m32" + export CXX="g++ -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + cd "${srcdir}/${_pkgname}-${pkgver}" + + ./configure \ + --prefix=/usr \ + --with-rootprefix=/usr \ + --sysconfdir=/etc \ + --libdir=/usr/lib32 \ + --sbindir=/usr/bin \ + --with-modprobe=/usr/bin/modprobe \ + --enable-gudev \ + --enable-introspection \ + --disable-manpages + make +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + #make DESTDIR="${pkgdir}" install + make DESTDIR="${pkgdir}" -C src/shared uninstall + make DESTDIR="${pkgdir}" -C src/libudev install + make DESTDIR="${pkgdir}" -C src/gudev install + make DESTDIR="${pkgdir}" -C src/shared uninstall + + #rm -rf "${pkgdir}"/etc + #rm -rf "${pkgdir}"/usr/{bin,include,lib,share} +} |