null+****@clear*****
null+****@clear*****
2011年 11月 27日 (日) 19:18:06 JST
Kouhei Sutou 2011-11-27 10:18:06 +0000 (Sun, 27 Nov 2011)
New Revision: 1c912d9e455b2379e5165f3e372f26140015fe8a
Log:
[apt] support i386.
Modified files:
packages/apt/Makefile.am
packages/apt/build-deb.sh
Modified: packages/apt/Makefile.am (+1 -1)
===================================================================
--- packages/apt/Makefile.am 2011-11-25 06:11:57 +0000 (0e90cde)
+++ packages/apt/Makefile.am 2011-11-27 10:18:06 +0000 (c2069cc)
@@ -1,6 +1,6 @@
DISTRIBUTIONS = debian ubuntu
CHROOT_BASE = /var/lib/chroot
-ARCHITECTURES = amd64
+ARCHITECTURES = i386 amd64
CODES = squeeze wheezy unstable lucid natty oneiric
all:
Modified: packages/apt/build-deb.sh (+6 -0)
===================================================================
--- packages/apt/build-deb.sh 2011-11-25 06:11:57 +0000 (295b35c)
+++ packages/apt/build-deb.sh 2011-11-27 10:18:06 +0000 (fa1844b)
@@ -60,6 +60,12 @@ else
ruby -i'' -ne 'print $_ unless /libevent/' /tmp/${PACKAGE}-debian/control
fi
+if aptitude show liblzo2-dev > /dev/null 2>&1; then
+ DEPENDED_PACKAGES="${DEPENDED_PACKAGES} liblzo2-dev"
+else
+ ruby -i'' -ne 'print $_ unless /liblzo2-dev/' /tmp/${PACKAGE}-debian/control
+fi
+
run aptitude install -V -D -y devscripts ${DEPENDED_PACKAGES}
run aptitude clean