This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "theslinux-buildsystem".

The branch, libxpm has been updated
       via  ae1fa4e6d004ba5352ae4ca24135f5f923751f9f (commit)
      from  c02705a08d0b37174cab70ee361655d5980fd409 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ae1fa4e6d004ba5352ae4ca24135f5f923751f9f
Author: Ky-Anh Huynh <ky...@theslinux.org>
Date:   Sat Dec 6 17:26:32 2014 +0700

    Clean up. Add %lib3 support

-----------------------------------------------------------------------

Summary of changes:
 libxpm/PKGBUILD           |   19 ++++++++++++-------
 libxpm/makepkg.conf%lib32 |    4 ++++
 2 files changed, 16 insertions(+), 7 deletions(-)
 create mode 100644 libxpm/makepkg.conf%lib32

diff --git a/libxpm/PKGBUILD b/libxpm/PKGBUILD
index 86bfd05..947febd 100644
--- a/libxpm/PKGBUILD
+++ b/libxpm/PKGBUILD
@@ -1,22 +1,21 @@
 # $Id: PKGBUILD 194291 2013-09-13 07:20:35Z andyrtr $
 # Maintainer: Jan de Groot <j...@archlinux.org>
 
-pkgname=libxpm
-pkgver=3.5.11
-pkgrel=1
 pkgdesc="X11 pixmap library"
 arch=('i686' 'x86_64')
 license=('custom')
 url="http://xorg.freedesktop.org/";
-depends=('libxt' 'libxext')
+depends=("${_FEATURE_LIB32:+lib32-}libxt" "${_FEATURE_LIB32:+lib32-}libxext")
 makedepends=('xorg-util-macros')
 options=('!libtool')
-source=("${url}/releases/individual/lib/libXpm-${pkgver}.tar.bz2")
-sha256sums=('c5bdafa51d1ae30086fac01ab83be8d47fe117b238d3437f8e965434090e041c')
+source=("${url}/releases/individual/lib/libXpm-${PACKAGE_VERSION}.tar.bz2")
 
 build() {
   cd "${srcdir}/libXpm-${pkgver}"
-  ./configure --prefix=/usr --sysconfdir=/etc --disable-static
+  ./configure \
+    --prefix=/usr \
+    --libdir=/usr/lib${_FEATURE_LIB32}/ \
+    --sysconfdir=/etc --disable-static
   make
 }
 
@@ -26,4 +25,10 @@ package() {
 
   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
   install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+
+  [[ -n "$_FEATURE_LIB32" ]] || return 0
+  rm -rf \
+    "${pkgdir}"/usr/bin \
+    "${pkgdir}"/usr/include \
+    "${pkgdir}"/usr/share
 }
diff --git a/libxpm/makepkg.conf%lib32 b/libxpm/makepkg.conf%lib32
new file mode 100644
index 0000000..0ce791a
--- /dev/null
+++ b/libxpm/makepkg.conf%lib32
@@ -0,0 +1,4 @@
+export CHOST="i686-pc-linux-gnu"
+export CFLAGS="-m32 -march=i686 -mtune=generic -O2 -pipe 
-fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
+export CXXFLAGS="${CFLAGS}"
+export PKG_CONFIG_PATH=/usr/lib32/pkgconfig


hooks/post-receive
-- 
theslinux-buildsystem

--
To unsubscribe from the list phantom@lists.theslinux.org,
please send an email to ecar...@lists.theslinux.org with subject
  unsubscribe phantom

To get basic commands to use Ecartis system, use subject 'help'.

Reply via email to