Commit f6723fe7 authored by Timo Teräs's avatar Timo Teräs

main/[various]: update config.sub

parent cde4c288
......@@ -15,8 +15,15 @@ depends_dev="expat-dev apr-dev openldap-dev sqlite-dev postgresql-dev
db-dev"
source="http://www.apache.org/dist/apr/$pkgname-$pkgver.tar.bz2"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$srcdir/$pkgname-$pkgver"
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -35,7 +42,7 @@ build() {
}
package() {
cd "$srcdir/$pkgname-$pkgver"
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/apr-util*/*.la \
"$pkgdir"/usr/lib/*.exp \
......
......@@ -13,6 +13,11 @@ source="http://ftp.gnome.org/pub/GNOME/sources/atkmm/${pkgver%.*}/atkmm-$pkgver.
replaces="gtkmm"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$_builddir"
./configure \
......
......@@ -13,6 +13,12 @@ subpackages="$pkgname-doc"
source="http://xorg.freedesktop.org//releases/individual/app/bdftopcf-$pkgver.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$_builddir"
./configure \
......
......@@ -13,6 +13,11 @@ subpackages="$pkgname-dev $pkgname-doc"
source="http://www.cairographics.org/releases/cairomm-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$_builddir"
./configure \
......
......@@ -17,6 +17,7 @@ _builddir="$srcdir"/daq-$pkgver
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -28,6 +28,7 @@ source="http://www.dovecot.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.gz
prepare() {
cd "$srcdir"/$pkgname-$pkgver
update_config_sub || return 1
for i in $patches; do
msg $i
patch -p1 -i "$srcdir"/$i || return 1
......
......@@ -19,6 +19,7 @@ source="http://www.emma-soft.com/projects/$pkgname/chrome/site/releases/$pkgname
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch)
......
......@@ -34,6 +34,7 @@ _builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -21,6 +21,7 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd $_builddir
update_config_sub || return 1
for i in ../*.patch
do
msg "Applying $i"
......
......@@ -12,8 +12,14 @@ subpackages="$pkgname-dev $pkgname-doc"
depends_dev="libsigc++-dev"
source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$srcdir"/$pkgname-$pkgver
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -23,7 +29,7 @@ build() {
}
package() {
cd "$srcdir"/$pkgname-$pkgver
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la
}
......
......@@ -18,6 +18,7 @@ _builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -20,6 +20,7 @@ source="http://ftp.gnome.org/pub/gnome/sources/$_realname/$_maj.$_min/$_realname
prepare() {
cd "$srcdir"/$_realname-$pkgver
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -12,8 +12,14 @@ depends_dev="atkmm-dev gtk+-dev glibmm-dev pangomm-dev"
subpackages="$pkgname-dev"
source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$srcdir"/gtkmm-$pkgver
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -23,7 +29,7 @@ build() {
}
package() {
cd "$srcdir"/gtkmm-$pkgver
cd "$_builddir"
make install DESTDIR="$pkgdir" || return 1
rm "$pkgdir"/usr/lib/*.la
}
......
......@@ -17,6 +17,7 @@ _builddir=$srcdir/ipset-$pkgver
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -16,6 +16,7 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
# apply patches here
}
......
......@@ -14,6 +14,7 @@ source="http://www.libee.org/download/files/download/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
update_config_sub || return 1
./configure \
--build=$CBUILD \
--host=$CHOST \
......
......@@ -19,6 +19,7 @@ _builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -18,6 +18,7 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -16,6 +16,7 @@ _builddir="$srcdir"/libnetfilter_cthelper-$pkgver
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -18,6 +18,7 @@ _builddir="$srcdir"/libnetfilter_cttimeout-$pkgver
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -17,6 +17,7 @@ _builddir="$srcdir"/libnfsidmap-$pkgver
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -18,6 +18,7 @@ _builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -17,6 +17,7 @@ _builddir="$srcdir"/librpcsecgss-$pkgver
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -12,8 +12,15 @@ depends_dev="flac-dev libvorbis-dev libogg-dev"
makedepends="alsa-lib-dev $depends_dev"
source="http://www.mega-nerd.com/$pkgname/files/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build () {
cd "$srcdir"/$pkgname-$pkgver
cd "$_builddir"
ac_cv_sys_largefile_CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" \
./configure \
--build=$CBUILD \
......@@ -26,7 +33,7 @@ build () {
}
package() {
cd "$srcdir"/$pkgname-$pkgver
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la || return 1
}
......
......@@ -12,8 +12,15 @@ subpackages="$pkgname-dev"
options='libtool'
source="http://libtorrent.rakshasa.no/downloads/${pkgname}-${pkgver}.tar.gz"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$srcdir"/$pkgname-$pkgver
cd "$_builddir"
./configure \
--build=$CBUILD \
......@@ -25,7 +32,7 @@ build() {
}
package() {
cd "$srcdir"/$pkgname-$pkgver
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
......
......@@ -17,6 +17,7 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
# apply patches here
}
......
......@@ -16,6 +16,12 @@ depends_dev="glib-dev gtk+-dev libx11-dev pango-dev cairo-dev
startup-notification-dev libxres-dev"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$_builddir"
./configure \
......
......@@ -8,13 +8,20 @@ arch="all"
license="GPL2"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends=
depends_dev="gtk+-dev libxfce4util-dev xfconf-dev startup-notification-dev"
makedepends="gtk+-dev xfconf-dev libxfce4util-dev startup-notification-dev
libglade-dev"
source="http://archive.xfce.org/src/xfce/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2"
depends_dev="gtk+-dev libxfce4util-dev xfconf-dev startup-notification-dev"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$srcdir"/$pkgname-$pkgver
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -28,7 +35,7 @@ build() {
}
package() {
cd "$srcdir"/$pkgname-$pkgver
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" -name '*.la' -delete
}
......
......@@ -23,6 +23,7 @@ _builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -13,8 +13,15 @@ install=
triggers="$pkgname.trigger=/usr/share/fonts/*"
source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$srcdir"/$pkgname-$pkgver
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -24,7 +31,7 @@ build() {
}
package() {
cd "$srcdir"/$pkgname-$pkgver
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="96ca346f185c0ab48e42bf5bb0375da5 mkfontscale-1.0.7.tar.bz2"
......@@ -17,6 +17,7 @@ _builddir="$srcdir"/mp3splt-$pkgver
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -14,7 +14,8 @@ pkggroups="nagios"
subpackages="$pkgname-contrib"
prepare() {
cd "$srcdir/$pkgname-$pkgver"
cd "$srcdir/$pkgname-$pkgver"
update_config_sub || return 1
# fix eglibc-2.16 build issue
sed -i -e '/gets is a/d' \
gl/stdio.in.h || return 1
......
......@@ -20,6 +20,11 @@ pkggroups="nagios"
_builddir="$srcdir/$pkgname"
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$_builddir"
./configure \
......
......@@ -13,7 +13,14 @@ makedepends="$depends_dev"
install=""
subpackages=""
source="http://downloads.sourceforge.net/sourceforge/ngrep/$pkgname-$pkgver.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$_builddir"
./configure \
......
......@@ -15,6 +15,11 @@ source="http://nmap.org/dist/$pkgname-$pkgver.tgz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$_builddir"
./configure \
......
......@@ -19,6 +19,7 @@ _builddir="$srcdir"/openbox-$pkgver
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
......
......@@ -13,6 +13,11 @@ subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.gnome.org/pub/GNOME/sources/pangomm/${pkgver%.*}/pangomm-$pkgver.tar.xz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure \
......
......@@ -14,14 +14,20 @@ source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
pth-2.0.6-sigstack.patch
"
build () {
cd "$srcdir"/$pkgname-$pkgver
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in ../*.patch; do
msg "Applying $i..."
patch -p1 < $i || return 1
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -35,7 +41,7 @@ build () {
}
package() {
cd "$srcdir"/$pkgname-$pkgver
cd "$_builddir"
make -j1 DESTDIR="$pkgdir" install
rm "$pkgdir"/usr/lib/*.la
}
......
......@@ -18,13 +18,14 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-demo"
_builddir="$srcdir"/pygtk-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
# disable pyc
echo '#!/bin/sh' > py-compile
libtoolize --force && aclocal -I m4 && autoconf \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment