Convert packages to {host,}makedepends and XBPS_CROSS_BUILD.

This commit is contained in:
Juan RP 2013-03-24 10:21:58 +01:00
parent d83a901909
commit ea38e4719a
144 changed files with 338 additions and 455 deletions

View file

@ -6,7 +6,6 @@ build_style=python-module
pycompile_module="twisted"
makedepends="python-devel"
fulldepends="zope.interface>=4.0.1 pycrypto pyopenssl"
crossmakedepends="${makedepends}"
short_desc="Event-driven networking engine written in Python"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://twistedmatrix.com/"

View file

@ -7,14 +7,9 @@ build_style=gnu-configure
configure_args="--libdir=/usr/lib --libexecdir=/usr/lib"
make_install_target="DIST_ROOT=${XBPS_DESTDIR}/${pkgname}-${version} install install-lib install-dev"
makedepends="attr-devel"
crossmakedepends="attr-devel"
short_desc="Access Control List filesystem support"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://savannah.nongnu.org/projects/acl"
license="LGPL-2.1"
distfiles="${NONGNU_SITE}/acl/acl-${version}.src.tar.gz"
checksum=06854521cf5d396801af7e54b9636680edf8064355e51c07657ec7442a185225
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
unset makedepends
fi

View file

@ -7,7 +7,6 @@ wrksrc=atop-${_distver}-${_patchver}
revision=1
build_style=gnu-makefile
makedepends="ncurses-devel zlib-devel"
crossmakedepends="${makedepends}"
short_desc="A system and process level monitor"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"

View file

@ -18,8 +18,8 @@ distfiles="$homepage/download/avahi-$version.tar.gz"
checksum=8372719b24e2dd75de6f59bb1315e600db4fd092805bd1201ed0cb651a2dab48
depends="dbus"
makedepends="pkg-config intltool dbus-devel libcap-devel
libdaemon-devel gdbm-devel dbus-python pygtk-devel
hostmakedepends="pkg-config intltool"
makedepends="dbus-devel libcap-devel libdaemon-devel gdbm-devel dbus-python pygtk-devel
gtk+3-devel>=3.6.0_5 gobject-introspection"
# Create avahi and netdev system accounts.
@ -37,10 +37,10 @@ subpackages="avahi-autoipd avahi-discover avahi-compat-libs avahi-compat-libs-de
avahi-ui-libs avahi-ui-libs-gtk3 avahi-ui-libs-devel avahi-utils
avahi-ui-utils avahi-python-utils avahi-python"
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
if [ "$XBPS_CROSS_BUILD" ]; then
# XXX glib, gtk, introspection and python
makedepends="automake gettext-devel glib-devel pkg-config intltool"
crossmakedepends="dbus-devel libcap-devel libdaemon-devel gdbm-devel"
hostmakedepends="automake gettext-devel glib-devel pkg-config intltool"
makedepends="dbus-devel libcap-devel libdaemon-devel gdbm-devel"
subpackages="avahi-autoipd avahi-compat-libs avahi-compat-libs-devel
avahi-libs avahi-libs-devel avahi-utils"
configure_args="${configure_args} --disable-glib --disable-gobject

View file

@ -19,8 +19,8 @@ configure_args="--without-bash-malloc --with-curses --with-installed-readline
bash_cv_sys_siglist=yes bash_cv_func_ctype_nonascii=no
bash_cv_dup2_broken=no bash_cv_pgrp_pipe=no bash_cv_printf_a_format=yes
bash_cv_func_strcoll_broken=no bash_cv_func_vsnprintf=yes"
makedepends="readline-devel bison"
crossmakedepends="readline-devel"
hostmakedepends="bison"
makedepends="readline-devel"
short_desc="The GNU Bourne Again Shell"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/bash/bash.html"

View file

@ -3,8 +3,8 @@ pkgname=binfmt-support
version=2.0.13
revision=1
build_style=gnu-configure
makedepends="pkg-config libpipeline-devel"
crossmakedepends="libpipeline-devel"
hostmakedepends="pkg-config"
makedepends="libpipeline-devel"
short_desc="Support for extra binary formats"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"

View file

@ -2,7 +2,8 @@
pkgname=binutils
version=2.23.51.0.3
revision=2
makedepends="flex perl"
hostmakedepends="flex perl"
makedepends="libfl-devel zlib-devel"
subpackages="$pkgname-devel"
short_desc="GNU binary utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -11,12 +12,8 @@ license="GPL-3"
distfiles="${KERNEL_SITE}/devel/binutils/$pkgname-$version.tar.xz"
checksum=2162905dabf191a2a803eab8d31e7be52d96d6ccd1e0ce42e25d82c6be918cd0
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
crossmakedepends="libfl-devel zlib-devel"
fi
do_configure() {
if [ "${XBPS_MACHINE}" = "x86_64" ]; then
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
CONFIGFLAG="--enable-64-bit-bfd --enable-multilib"
fi
@ -45,7 +42,7 @@ do_build() {
}
do_install() {
if [ "$XBPS_MACHINE" = "x86_64" ]; then
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
mkdir -p ${SRCPKGDESTDIR}/usr/lib
cd ${SRCPKGDESTDIR}/usr && ln -s lib lib64 && cd ${wrksrc}
fi

View file

@ -4,7 +4,8 @@ version=0.8.1
revision=2
wrksrc="${pkgname}-${version}-linux"
subpackages="bitcoin-qt"
makedepends="which db-devel openssl-devel qt-devel boost-devel automoc4 miniupnpc-devel"
hostmakedepends="which"
makedepends="db-devel openssl-devel qt-devel boost-devel automoc4 miniupnpc-devel"
short_desc="Bitcoin is a peer-to-peer network based digital currency"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
@ -14,11 +15,10 @@ checksum=6d7f023a9df1a436c51de83f7cd751f162be9b4fb1c06da05545f9fba7cb2a98
disable_debug=1
if [ -n "$XBPS_CROSS_BUILD" ]; then
if [ "$XBPS_CROSS_BUILD" ]; then
# XXX -qt subpkg
unset subpackages
makedepends="which"
crossmakedepends="db-devel openssl-devel boost-devel miniupnpc-devel"
akedepends="db-devel openssl-devel boost-devel miniupnpc-devel"
fi
do_build() {

View file

@ -20,15 +20,14 @@ long_desc="
disable_debug=yes
if [ -n "$XBPS_CROSS_BUILD" ]; then
if [ "$XBPS_CROSS_BUILD" ]; then
# XXX boost-jam and boost-python subpkgs.
unset makedepends
subpackages="boost-build boost-devel"
crossmakedepends="zlib-devel icu-devel>=49.1"
makedepends="zlib-devel icu-devel>=49.1"
fi
do_build() {
if [ -n "$XBPS_CROSS_BUILD" ]; then
if [ "$XBPS_CROSS_BUILD" ]; then
echo "using gcc : arm : ${XBPS_CROSS_TRIPLET}-g++ ;" > \
tools/build/v2/user-config.jam
fi
@ -38,11 +37,11 @@ do_build() {
do_install() {
# Install bjam
if [ "$XBPS_MACHINE" = "i686" ]; then
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
_bindir="bin.linuxx86"
elif [ "$XBPS_MACHINE" = "x86_64" ]; then
elif [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
_bindir="bin.linuxx86_64"
elif [ "$XBPS_MACHINE" = "armv6l" ]; then
elif [ "$XBPS_TARGET_MACHINE" = "armv6l" ]; then
_bindir="bin.linuxarm"
fi
[ -z "$XBPS_CROSS_BUILD" ] && vinstall bjam 755 usr/bin

View file

@ -5,7 +5,6 @@ version=0.20rc1.1
revision=1
wrksrc="${pkgname}-${_distver}"
makedepends="acl-devel libuuid-devel e2fsprogs-devel"
crossmakedepends="${makedepends}"
short_desc="Btrfs filesystem utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
@ -14,11 +13,6 @@ distfiles="ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${_distver}.tar.x
checksum=6d13ffd167ee1cc1a8844f7c656db0472730a3bb8fa561e9361957b1ec502f2b
do_build() {
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
CC="$XBPS_CROSS_TRIPLET-gcc"
else
CC="gcc"
fi
make CC="$CC" CFLAGS="$CFLAGS" ${makejobs}
}

View file

@ -24,14 +24,9 @@ long_desc="
antialiased text rendering."
depends="pixman>=0.28"
makedepends="pkg-config libpng-devel>=1.5.10 fontconfig-devel
pixman-devel>=0.28 libXrender-devel>=0.9.7_3 glib-devel"
hostmakedepends="which automake pkg-config"
makedepends="libpng-devel>=1.5.10 fontconfig-devel pixman-devel>=0.28 libXrender-devel>=0.9.7_3 libglib-devel"
if [ "$XBPS_CROSS_BUILD" ]; then
makedepends="which automake pkg-config"
crossmakedepends="libpng-devel fontconfig-devel pixman-devel
libXrender-devel>=0.9.7_3 libglib-devel"
pre_configure() {
pre_configure() {
autoreconf -fi
}
fi
}

View file

@ -23,6 +23,5 @@ do_options() {
if [ "$build_option_opengl" -o "$build_option_gles2" ]; then
makedepends="${makedepends} MesaLib-devel"
crossmakedepends="${makedepends}"
fi
}

View file

@ -5,7 +5,6 @@ revision=2
bootstrap=yes
build_style=gnu-configure
makedepends="zlib-devel"
crossmakedepends="${makedepends}"
short_desc="A Fast C/C++ Compiler Cache"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://ccache.samba.org"

View file

@ -10,10 +10,10 @@ license="GPL-3"
distfiles="${KERNEL_SITE}/devel/binutils/binutils-$version.tar.xz"
checksum=2162905dabf191a2a803eab8d31e7be52d96d6ccd1e0ce42e25d82c6be918cd0
if [ -n "$IN_CHROOT" ]; then
makedepends="flex perl"
if [ "$IN_CHROOT" ]; then
hostmakedepends="flex perl"
fi
crossmakedepends="zlib-devel"
makedepends="zlib-devel"
noverifyrdeps=yes
bootstrap=yes
@ -21,7 +21,7 @@ provides="binutils-${version}"
conflicts="binutils>=0"
do_configure() {
if [ "${XBPS_MACHINE}" = "x86_64" ]; then
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
CONFIGFLAG="--enable-64-bit-bfd --enable-multilib"
fi
@ -35,7 +35,7 @@ do_build() {
}
do_install() {
if [ "$XBPS_MACHINE" = "x86_64" ]; then
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
mkdir -p ${DESTDIR}/usr/lib
cd ${DESTDIR}/usr && ln -s lib lib64 && cd ${wrksrc}
fi

View file

@ -5,7 +5,6 @@ revision=1
wrksrc="file-${version}"
build_style=gnu-configure
makedepends="zlib-devel"
crossmakedepends="${makedepends}"
short_desc="File type identification utility -- for xbps-src use"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.darwinsys.com/file/"

View file

@ -17,12 +17,12 @@ checksum=3753247dbfd802aaf1cb2c917b8e873b6ed13c009ab0fa5f7d90b3c759195ff1
conflicts="git>=0"
bootstrap=yes
if [ -n "$CHROOT_READY" ]; then
makedepends="perl"
if [ "$CHROOT_READY" ]; then
hostmakedepends="perl"
fi
if [ -n "$XBPS_CROSS_BUILD" ]; then
crossmakedepends="zlib-devel"
if [ "$XBPS_CROSS_BUILD" ]; then
smakedepends="zlib-devel"
configure_args="${configure_args}
ac_cv_fread_reads_directories=no
ac_cv_snprintf_returns_bogus=no"

View file

@ -14,9 +14,8 @@ bootstrap=yes
conflicts="texinfo>=0"
provides="texinfo-${version}"
if [ -n "$IN_CHROOT" ]; then
if [ "$IN_CHROOT" ]; then
makedepends="ncurses-devel"
crossmakedepends="${makedepends}"
fi
do_configure() {

View file

@ -14,7 +14,6 @@ license="GPL-2"
distfiles="http://www.bastoul.net/cloog/pages/download/cloog-$version.tar.gz"
checksum=f265f5069830c03d2919a7673c0963495437d6d79a8cbd3474cde2d4e3291e04
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
configure_args="${configure_args} --with-gmp-exec-prefix=/usr/$XBPS_CROSS_TRIPLET"
crossmakedepends="${makedepends}"
if [ "$XBPS_CROSS_BUILD" ]; then
configure_args="${configure_args} --with-gmp-exec-prefix=$XBPS_CROSS_BASE"
fi

View file

@ -15,12 +15,8 @@ homepage="http://connman.net/"
distfiles="${KERNEL_SITE}/network/$pkgname/$pkgname-$version.tar.xz"
checksum=8ca8a2ab5477b05821ee3e535320fce55409f7615313ccb785e672660b452314
makedepends="pkg-config glib-devel dbus-devel iptables-devel>=1.4.18
gnutls-devel>=3.1.5 readline-devel"
crossmakedepends="libglib-devel dbus-devel iptables-devel>=1.4.18
gnutls-devel>=3.1.5 readline-devel"
hostmakedepends="pkg-config"
makedepends="libglib-devel dbus-devel iptables-devel>=1.4.18 gnutls-devel>=3.1.5 readline-devel"
fulldepends="bluez wpa_supplicant"
post_install() {

View file

@ -11,17 +11,16 @@ checksum=adaa44bdab3fa5eb352e80d8a31fdbf957b78653d0c2cd30d63e161444288e18
subpackages="coreutils-doc"
conflicts="chroot-coreutils>=0 procps-ng<3.3.5_3"
makedepends="perl gmp-devel acl-devel libcap-devel"
hostmakedepends="perl"
makedepends="gmp-devel acl-devel libcap-devel"
depends="coreutils-doc-${version}_${revision}"
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
if [ "$XBPS_CROSS_BUILD" ]; then
unset subpackages
makedepends="perl"
crossmakedepends="gmp-devel acl-devel libcap-devel"
fi
do_configure() {
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
if [ "$XBPS_CROSS_BUILD" ]; then
_confargs="fu_cv_sys_stat_statfs2_bsize=yes \
gl_cv_func_working_mkstemp=yes
gl_cv_func_working_acl_get_file=yes"
@ -37,7 +36,7 @@ do_configure() {
}
do_build() {
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
if [ "$XBPS_CROSS_BUILD" ]; then
cp Makefile Makefile.orig
sed '/src_make_prime_list/d' Makefile.orig > Makefile
depbase=`echo src/make-prime-list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
@ -57,7 +56,7 @@ do_build() {
do_install() {
make DESTDIR=${DESTDIR} install
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
if [ "$XBPS_CROSS_BUILD" ]; then
rm -rf ${DESTDIR}/usr/share/info
fi
}

View file

@ -8,7 +8,6 @@ build_wrksrc="${pkgname}-${version}"
build_style=gnu-configure
configure_args="--disable-static"
makedepends="python-devel"
crossmakedepends="${makedepends}"
short_desc="Password Checking Library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
@ -20,8 +19,8 @@ checksum="
feaff49bfb513ec10b2618c00d2f7f60776ba93fcc5fa22dd3479dd9cad9f770
9b323c100780f2a817ab3de082b8bfaa4478bfa174dcbd016810ed8be60cbe16"
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
makedepends="automake gettext-devel ${makedepends}"
if [ "$XBPS_CROSS_BUILD" ]; then
hostmakedepends="automake gettext-devel"
pre_configure() {
sed -i "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g" -i configure.in
autoreconf -fi

View file

@ -14,7 +14,7 @@ checksum=bd7f6f118460c452bd1217a24b80fd3c000425d3de28731b98354a81a2133e92
makedepends="pam-devel"
depends="run-parts"
crossmakedepends="pam-devel"
makedepends="pam-devel"
conf_files="/etc/crontab /etc/pam.d/crond /etc/cron.deny"
systemd_services="cronie.service on"

View file

@ -5,8 +5,8 @@ revision=1
subpackages="libcryptsetup cryptsetup-devel"
build_style=gnu-configure
configure_args="--enable-pwquality"
makedepends="pkg-config popt-devel libuuid-devel device-mapper-devel
libgcrypt-devel libpwquality-devel"
hostmakedepends="pkg-config"
makedepends="popt-devel libuuid-devel device-mapper-devel libgcrypt-devel libpwquality-devel"
short_desc="Setup virtual encryption devices under dm-crypt Linux"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
@ -14,10 +14,8 @@ homepage="http://code.google.com/p/cryptsetup"
distfiles="https://cryptsetup.googlecode.com/files/$pkgname-$version.tar.bz2"
checksum=dd9686fce5d3276b2eb2ac40d513a9b64850af8fff881442f2cfe87257ba2406
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
makedepends="automake gettext-devel pkg-config libgcrypt-devel"
crossmakedepends="popt-devel libuuid-devel device-mapper-devel
libgcrypt-devel libpwquality-devel"
if [ "$XBPS_CROSS_BUILD" ]; then
hostmakedepends="automake gettext-devel pkg-config libgcrypt-devel"
pre_configure() {
autoreconf -fi
}

View file

@ -7,8 +7,8 @@ configure_args="--disable-ldaps --with-gssapi=/usr
--enable-threaded-resolver --enable-ipv6
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt"
depends="ca-certificates"
makedepends="pkg-config perl groff libidn-devel openssl-devel mit-krb5-devel"
crossmakedepends="libidn-devel openssl-devel mit-krb5-devel"
hostmakedepends="pkg-config perl groff"
makedepends="libidn-devel openssl-devel mit-krb5-devel"
subpackages="libcurl libcurl-devel"
short_desc="Client that groks URLs"
maintainer="Juan RP <xtraeme@gmail.com>"

View file

@ -5,8 +5,8 @@ revision=4
patch_args="-Np1"
build_style=gnu-configure
configure_args="--with-editor=/usr/bin/vi"
makedepends="mit-krb5-devel nvi"
crossmakedepends="mit-krb5-devel"
hostmakedepends="nvi"
makedepends="mit-krb5-devel"
fulldepends="openssh>=6.1p1"
short_desc="Concurrent Versions System"
maintainer="Juan RP <xtraeme@gmail.com>"

View file

@ -18,13 +18,13 @@ checksum="
create_wrksrc=yes
subpackages="dbus-devel dbus-libs dbus-x11"
makedepends="pkg-config intltool gperf expat-devel libX11-devel libcap-devel"
crossmakedepends="expat-devel libX11-devel libcap-devel"
hostmakedepends="pkg-config intltool gperf"
makedepends="expat-devel libX11-devel libcap-devel"
conf_files="/etc/dbus-1/session.conf /etc/dbus-1/system.conf"
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
_systemddir="/usr/$XBPS_CROSS_TRIPLET"
makedepends="automake gettext-devel pkg-config intltool gperf libgcrypt-devel"
if [ "$XBPS_CROSS_BUILD" ]; then
_systemddir="$XBPS_CROSS_BASE"
hostmakedepends="automake gettext-devel ${hostmakedepends} libgcrypt-devel"
else
_systemddir="/usr"
fi
@ -34,9 +34,9 @@ pre_configure() {
[ ! -d dbus-bootstrap ] && mkdir dbus-bootstrap
cd dbus-bootstrap
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
if [ "$XBPS_CROSS_BUILD" ]; then
_confargs="--host=$XBPS_CROSS_TRIPLET
--with-libtool-sysroot=/usr/$XBPS_CROSS_TRIPLET"
--with-libtool-sysroot=$XBPS_CROSS_BASE"
fi
../dbus-${version}/configure ${_confargs} \
@ -46,7 +46,7 @@ pre_configure() {
make install
# Build a temporary systemd; we are only interested in libsystemd-login.
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
if [ "$XBPS_CROSS_BUILD" ]; then
cd ${wrksrc}/systemd-${_systemd_version} && autoreconf -fi
fi
@ -86,10 +86,10 @@ pre_configure() {
do_configure() {
cd ${wrksrc}/dbus-${version}
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
if [ "$XBPS_CROSS_BUILD" ]; then
autoreconf -fi
_confargs="--host=$XBPS_CROSS_TRIPLET
--with-libtool-sysroot=/usr/$XBPS_CROSS_TRIPLET
--with-libtool-sysroot=$XBPS_CROSS_BASE
PKG_CONFIG_LIBDIR=${_systemddir}/lib/pkgconfig"
fi
./configure ${CONFIGURE_SHARED_ARGS} \

View file

@ -9,8 +9,8 @@ configure_args="--enable-htree --enable-elf-shlibs --disable-fsck
--enable-symlink-build --enable-symlink-install
--libdir=/usr/lib --libexecdir=/usr/lib"
make_install_args="install-libs"
makedepends="pkg-config libuuid-devel libblkid-devel"
crossmakedepends="libuuid-devel libblkid-devel"
hostmakedepends="pkg-config"
makedepends="libuuid-devel libblkid-devel"
subpackages="$pkgname-devel $pkgname-libs"
conf_files="/etc/mke2fs.conf"
short_desc="Ext2/3/4 Filesystem Utilities"

View file

@ -5,7 +5,7 @@ revision=1
conflicts="chroot-file>=0"
subpackages="libmagic file-devel"
build_style=gnu-configure
crossmakedepends="zlib-devel"
makedepends="zlib-devel"
short_desc="File type identification utility"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.darwinsys.com/file/"

View file

@ -5,7 +5,10 @@ revision=6
subpackages="libflac libflac-devel"
build_style=gnu-configure
configure_args="--disable-rpath --disable-doxygen-docs --disable-xmms-plugin"
makedepends="nasm libogg-devel"
if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
hostmakedepends="nasm"
fi
makedepends="libogg-devel"
short_desc="Free Lossless Audio Codec"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://flac.sourceforge.net/"
@ -23,9 +26,8 @@ long_desc="
* input plugins for various music players (Winamp, XMMS, and more in the
works)"
if [ -n "$XBPS_CROSS_BUILD" ]; then
makedepends="automake pkg-config"
crossmakedepends="libogg-devel"
if [ "$XBPS_CROSS_BUILD" ]; then
hostmakedepends="automake pkg-config"
pre_configure() {
./autogen.sh
}

View file

@ -6,8 +6,8 @@ conf_files="/etc/fonts/fonts.conf"
subpackages="$pkgname-devel"
build_style=gnu-configure
configure_args="--disable-static --enable-docs --with-cache-dir=/var/cache/$pkgname"
makedepends="pkg-config expat-devel freetype-devel zlib-devel"
crossmakedepends="expat-devel zlib-devel freetype-devel"
hostmakedepends="pkg-config"
makedepends="expat-devel zlib-devel freetype-devel"
short_desc="Library for configuring and customizing font access"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.fontconfig.org"

View file

@ -4,8 +4,8 @@ version=2.4.11
revision=2
patch_args="-Np1"
build_style=gnu-configure
makedepends="pkg-config zlib-devel"
crossmakedepends="zlib-devel"
hostmakedepends="pkg-config"
makedepends="zlib-devel"
subpackages="$pkgname-devel"
short_desc="Font rendering engine and library API"
maintainer="Juan RP <xtraeme@gmail.com>"

View file

@ -6,7 +6,6 @@ conflicts="chroot-gawk>=0"
build_style=gnu-configure
configure_args="--with-readline"
makedepends="readline-devel"
crossmakedepends="readline-devel"
short_desc="The GNU awk utility"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"

View file

@ -3,8 +3,8 @@ pkgname=gcc
_majorver=4.7
version=${_majorver}.2
revision=2
makedepends="perl flex zlib-devel gmp-devel mpfr-devel mpc-devel
ppl-devel>=1.0 cloog-devel"
hostmakedepends="perl flex"
makedepends="zlib-devel libfl-devel gmp-devel mpfr-devel mpc-devel ppl-devel>=1.0 cloog-devel"
short_desc="The GNU C Compiler"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://gcc.gnu.org"
@ -13,7 +13,7 @@ distfiles="http://ftp.gnu.org/pub/gnu/gcc/gcc-$version/gcc-$version.tar.bz2"
depends="binutils libgomp>=${_majorver} libitm>=${_majorver} libssp-devel>=${_majorver}"
checksum=8a9283d7010fb9fe5ece3ca507e0af5c19412626384f8a5e9434251ae100b084
if [ "${XBPS_MACHINE}" = "x86_64" ]; then
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ]; then
# Required stuff for multilib packages.
_triplet="${XBPS_MACHINE}-unknown-linux-gnu"
makedepends="${makedepends} glibc32-devel"
@ -21,7 +21,7 @@ if [ "${XBPS_MACHINE}" = "x86_64" ]; then
libgomp32 libmudflap32-devel libmudflap32
libobjc32 libssp32 libstdc++32-devel
libstdc++32 libitm32"
elif [ "$XBPS_MACHINE" = "armv6l" ]; then
elif [ "$XBPS_TARGET_MACHINE" = "armv6l" ]; then
_triplet="arm-linux-gnueabihf"
else
_triplet="${XBPS_MACHINE}-pc-linux-gnu"
@ -35,11 +35,8 @@ subpackages="${subpackages} libgcc libgo libssp libssp-devel libstdc++
libobjc-devel libgfortran libgfortran-devel gcc-fortran gcc-c++
gcc-objc gcc-objc++ gcc-go"
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
if [ "$XBPS_CROSS_BUILD" ]; then
# XXX enable default langs: objc, obj-c++, fortran and go.
makedepends="perl flex"
crossmakedepends="libfl-devel zlib-devel gmp-devel mpfr-devel mpc-devel
ppl-devel>=1.0 cloog-devel"
subpackages="libgcc libssp libssp-devel libstdc++
libstdc++-devel libgomp libgomp-devel
libitm libmudflap libmudflap-devel gcc-c++"
@ -51,12 +48,12 @@ do_configure() {
# Do not run fixincludes
sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
export CC="$XBPS_CROSS_TRIPLET-gcc --sysroot=/usr/$XBPS_CROSS_TRIPLET"
if [ "$XBPS_CROSS_BUILD" ]; then
export CC="$XBPS_CROSS_TRIPLET-gcc --sysroot=$XBPS_CROSS_BASE"
export CC_FOR_TARGET="$CC"
export GCC="$CC"
export GCC_FOR_TARGET="$CC"
export CXX="$XBPS_CROSS_TRIPLET-g++ --sysroot=/usr/$XBPS_CROSS_TRIPLET"
export CXX="$XBPS_CROSS_TRIPLET-g++ --sysroot=$XBPS_CROSS_BASE"
export CXX_FOR_TARGET="$CXX"
export CFLAGS="$XBPS_CROSS_CFLAGS"
export CXXFLAGS="$CFLAGS"
@ -81,7 +78,7 @@ do_build() {
}
do_install() {
if [ "$XBPS_MACHINE" = "x86_64" ]; then
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
vmkdir usr/lib
cd ${DESTDIR}/usr && ln -sf lib lib64
fi
@ -111,7 +108,7 @@ do_install() {
rm -f ${DESTDIR}/usr/share/man/man3/ffi*
# Remove unused stuff for multilib.
if [ "${XBPS_MACHINE}" = "x86_64" ]; then
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
if [ -d ${DESTDIR}/usr/lib32 ]; then
rm -f ${DESTDIR}/usr/lib32/libffi*
rm -f ${DESTDIR}/usr/lib32/libgfortran*

View file

@ -6,7 +6,6 @@ build_style=gnu-configure
configure_args="--disable-nls --with-system-readline
--with-system-gdbinit=/etc/gdb/gdbinit"
makedepends="ncurses-devel zlib-devel readline-devel python-devel"
crossmakedepends="${makedepends}"
short_desc="The GNU Debugger"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/gdb/"

View file

@ -15,26 +15,26 @@ checksum=c2f35bcefa4f62a54c4bde41cc0f1cd3ddf03e9a6bc8a79557f1683789f213e6
subpackages="git-docs git-perl git-python"
# Required by https://
depends="ca-certificates"
makedepends="xmlto>=0.0.25_2 asciidoc perl openssl-devel libcurl-devel
expat-devel python-devel"
hostmakedepends="xmlto>=0.0.25_2 asciidoc perl"
makedepends="openssl-devel libcurl-devel expat-devel python-devel"
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
if [ "$XBPS_CROSS_BUILD" ]; then
subpackages="git-perl"
configure_args="${configure_args} --without-python
ac_cv_fread_reads_directories=no
ac_cv_snprintf_returns_bogus=no"
makedepends="perl"
crossmakedepends="openssl-devel libcurl-devel expat-devel"
hostmakedepends="perl"
makedepends="openssl-devel libcurl-devel expat-devel"
fi
post_build() {
if [ -z "$XBPS_CROSS_TRIPLET" ]; then
if [ -z "$XBPS_CROSS_BUILD" ]; then
make ${makejobs} -C Documentation man
fi
}
post_install() {
if [ -z "$XBPS_CROSS_TRIPLET" ]; then
if [ -z "$XBPS_CROSS_BUILD" ]; then
make NO_INSTALL_HARDLINKS=1 DESTDIR=${DESTDIR} install-doc
fi
vinstall contrib/completion/git-completion.bash 644 \

View file

@ -4,10 +4,9 @@ version=2.34.3
revision=3
subpackages="libglib-devel glib-devel"
build_style=gnu-configure
configure_args="--disable-fam --with-pcre=system --enable-static
--enable-man"
makedepends="python pkg-config zlib-devel pcre-devel>=8.30
libffi-devel libxslt docbook-xsl"
configure_args="--disable-fam --with-pcre=system --enable-static --enable-man"
hostmakedepends="pkg-config python libxslt docbook-xsl"
makedepends="zlib-devel pcre-devel>=8.30 libffi-devel"
short_desc="The GNU library of C routines"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gtk.org/"
@ -15,7 +14,7 @@ license="LGPL-2.1"
distfiles="${GNOME_SITE}/glib/2.34/glib-$version.tar.xz"
checksum=855fcbf87cb93065b488358e351774d8a39177281023bae58c286f41612658a7
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
if [ "$XBPS_CROSS_BUILD" ]; then
configure_args="${configure_args} glib_cv_long_long_format=I64
glib_cv_stack_grows=no glib_cv_rtldglobal_broken=no
glib_cv_uscore=no blib_cv_use_pid_surrogate=yes
@ -24,8 +23,8 @@ if [ -n "$XBPS_CROSS_TRIPLET" ]; then
ac_cv_func_posix_getpwuid_r=yes
ac_cv_func_posix_getgrgid_r=yes
ac_cv_func_posix_getgrgid_r=yes"
makedepends="automake gettext-devel which gtk-doc pkg-config glib-devel"
crossmakedepends="zlib-devel pcre-devel>=8.30 libffi-devel"
hostmakedepends="automake gettext-devel which gtk-doc pkg-config glib-devel"
makedepends="zlib-devel pcre-devel>=8.30 libffi-devel"
pre_configure() {
sed -e "s|AM_PROG_CC_STDC|AC_PROG_CC|g" -i configure.ac
NOCONFIGURE=1 ./autogen.sh

View file

@ -6,10 +6,11 @@ subpackages="gmp-devel"
build_style=gnu-configure
# Build with -fexceptions as suggested by ppl.
CPPFLAGS="-fexceptions"
if [ "$XBPS_MACHINE" = "i686" ]; then
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
cnfigure_args="ABI=32"
fi
configure_args="${configure_args} --enable-cxx --build=${XBPS_MACHINE}-unknown-linux-gnu"
makedepends="zlib-devel"
short_desc="Library for arbitrary precision arithmetic"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-3"
@ -17,9 +18,8 @@ homepage="http://gmplib.org/"
distfiles="ftp://ftp.gmplib.org/pub/gmp-${version}/gmp-${version}.tar.xz"
checksum=4bd64d782fdeb61aeed45b434fca5246d66baa9de76f87cba30c38460d8834c2
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
makedepends="automake"
crossmakedepends="zlib-devel"
if [ "$XBPS_CROSS_BUILD" ]; then
hostmakedepends="automake"
pre_configure() {
autoreconf -fi
}

View file

@ -5,7 +5,6 @@ revision=3
conflicts="chroot-grep>=0"
build_style=gnu-configure
makedepends="pcre-devel>=8.30"
crossmakedepends="${makedepends}"
short_desc="The GNU grep utility"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"

View file

@ -2,8 +2,8 @@
pkgname=groff
version=1.22.2
revision=1
makedepends="perl bison zlib-devel"
crossmakedepends="zlib-devel"
hostmakedepends="perl bison"
makedepends="zlib-devel"
short_desc="The GNU troff text-formatting system"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
@ -12,12 +12,12 @@ distfiles="http://ftp.gnu.org/gnu/groff/groff-${version}.tar.gz"
checksum=380864dac4772e0c0d7b1282d25d0c5fd7f63baf45c87c4657afed22a13d2076
subpackages="groff-doc"
if [ "$XBPS_CROSS_TRIPLET" ]; then
makedepends="perl bison groff"
if [ "$XBPS_CROSS_BUILD" ]; then
hostmakedepends="perl bison groff"
fi
do_configure() {
if [ "$XBPS_CROSS_TRIPLET" ]; then
if [ "$XBPS_CROSS_BUILD" ]; then
sed -i \
-e '/^GROFFBIN=/s:=.*:=/usr/bin/groff:' \
-e '/^TROFFBIN=/s:=.*:=/usr/bin/troff:' \
@ -31,7 +31,7 @@ do_configure() {
}
do_build() {
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
if [ "$XBPS_CROSS_BUILD" ]; then
make TROFFBIN=troff GROFFBIN=groff GROFF_BIN_PATH= ${makejobs}
else
make ${makejobs}

View file

@ -2,8 +2,8 @@
pkgname=iproute2
version=3.8.0
revision=2
makedepends="pkg-config perl flex db-devel iptables-devel>=1.4.18"
crossmakedepends="libfl-devel db-devel iptables-devel>=1.4.18"
hostmakedepends="pkg-config perl flex"
makedepends="libfl-devel db-devel iptables-devel>=1.4.18"
short_desc="IP Routing Utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.linux-foundation.org/en/Net:Iproute2"
@ -24,12 +24,12 @@ do_configure() {
}
do_build() {
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
if [ "$XBPS_CROSS_BUILD" ]; then
make CC="$XBPS_CROSS_TRIPLET-gcc" \
RANLIB="$XBPS_CROSS_TRIPLET-ranlib" \
AR="$XBPS_CROSS_TRIPLET-ar" \
LD="$XBPS_CROSS_TRIPLET-ld" \
DBM_INCLUDE="/usr/$XBPS_CROSS_TRIPLET/include" \
DBM_INCLUDE="$XBPS_CROSS_BASE/include" \
${makejobs}
else
make ${makejobs}

View file

@ -5,7 +5,6 @@ revision=2
patch_args="-Np1"
wrksrc="${pkgname}-s${version}"
makedepends="openssl-devel libcap-devel"
crossmakedepends="${makedepends}"
depends="libcap-progs"
short_desc="IP Configuration Utilities (and ping)"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -15,7 +14,7 @@ distfiles="http://www.skbuff.net/iputils/${pkgname}-s${version}.tar.bz2"
checksum=450f549fc5b620c23c5929aa6d54b7ddfc7ee1cb1e8efdc5e8bb21d8d0c5319f
do_build() {
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
if [ "$XBPS_CROSS_BUILD" ]; then
make CC="$XBPS_CROSS_TRIPLET-gcc" LD="$XBPS_CROSS_TRIPLET-ld" \
USE_GNUTLS=no CCOPTOPT="$CFLAGS" ${makejobs} \
arping clockdiff ping ping6 rdisc tracepath tracepath6

View file

@ -4,7 +4,8 @@ version=0.8.15
revision=6
build_style=gnu-configure
configure_args="--disable-static --with-proxy --with-perl=module"
makedepends="perl>=5.16 pkg-config glib-devel openssl-devel ncurses-devel"
hostmakedepends="pkg-config perl>=5.16"
makedepends="libglib-devel openssl-devel ncurses-devel"
conf_files="/etc/irssi.conf"
subpackages="irssi-devel irssi-perl"
homepage="http://www.irssi.org"
@ -14,10 +15,9 @@ license="GPL-2"
distfiles="http://www.irssi.org/files/$pkgname-$version.tar.bz2"
checksum=c12d16fb605103d7c256ddce44012dc396af57f3771e086d0387c195a052a0a6
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
if [ "$XBPS_CROSS_BUILD" ]; then
# XXX perl module
makedepends="pkg-config ncurses-devel"
crossmakedepends="libglib-devel openssl-devel ncurses-devel"
hostmakedepends="pkg-config"
configure_args="${configure_args} --without-perl"
subpackages="irssi-devel"
fi

View file

@ -5,7 +5,6 @@ revision=2
build_style=gnu-configure
subpackages="isl-devel"
makedepends="gmp-devel"
crossmakedepends="${makedepends}"
short_desc="Integer Set Library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.kotnet.org/~skimo/isl/"

View file

@ -3,8 +3,8 @@ pkgname=iw
version=3.8
revision=1
build_style=gnu-makefile
makedepends="pkg-config libnl3-devel"
crossmakedepends="libnl3-devel"
hostmakedepends="pkg-config"
makedepends="libnl3-devel"
short_desc="nl80211 based CLI configuration utility for wireless devices"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"

View file

@ -4,8 +4,8 @@ version=1.15.5
revision=2
build_style=gnu-configure
configure_args="--datadir=/usr/share/kbd --localedir=/usr/share/kbd/locale"
makedepends="flex pam-devel"
crossmakedepends="libfl-devel pam-devel"
hostmakedepends="flex"
makedepends="libfl-devel pam-devel"
replaces="kbd-common<1.15.5"
short_desc="Linux keyboard utilities"
maintainer="Juan RP <xtraeme@gmail.com>"

View file

@ -4,7 +4,8 @@ version=12
revision=2
build_style=gnu-configure
configure_args="--with-zlib --with-xz"
makedepends="pkg-config zlib-devel liblzma-devel libxslt"
hostmakedepends="pkg-config libxslt"
makedepends="zlib-devel liblzma-devel"
provides="module-init-tools-3.17"
replaces="module-init-tools>=0"
subpackages="libkmod libkmod-devel"
@ -21,9 +22,8 @@ make_dirs="
/usr/lib/depmod.d 0755 root root
/usr/lib/modprobe.d 0755 root root"
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
makedepends="automake pkg-config libxslt"
crossmakedepends="zlib-devel liblzma-devel"
if [ "$XBPS_CROSS_BUILD" ]; then
hostmakedepends="automake pkg-config libxslt"
pre_configure() {
autoreconf -fi
}

View file

@ -6,10 +6,9 @@ subpackages="$pkgname-devel"
build_style=gnu-configure
configure_args="--enable-nasm --enable-shared"
makedepends="ncurses-devel"
if [ "$XBPS_MACHINE" = "i686" -o "$XBPS_MACHINE" = "x86_64" ]; then
makedepends="${makedepends} nasm"
if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
hostmakedepends="nasm"
fi
crossmakedepends="ncurses-devel"
short_desc="Fast, high quality MP3 encoder"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"

View file

@ -5,7 +5,6 @@ revision=2
build_style=gnu-configure
configure_args="--with-regex=pcre"
makedepends="ncurses-devel pcre-devel>=8.30"
crossmakedepends="${makedepends}"
short_desc="Pager program similar to more(1)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"

View file

@ -4,8 +4,8 @@ version=1.0.8
revision=3
subpackages="$pkgname-devel"
build_style=gnu-configure
makedepends="pkg-config xtrans xproto"
crossmakedepends="xtrans xproto"
hostmakedepends="pkg-config"
makedepends="xtrans xproto"
short_desc="Inter Client Exchange (ICE) library for X"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"

View file

@ -4,8 +4,8 @@ version=1.2.1
revision=2
subpackages="$pkgname-devel"
build_style=gnu-configure
makedepends="pkg-config libuuid-devel libICE-devel"
crossmakedepends="libuuid-devel libICE-devel"
hostmakedepends="pkg-config"
makedepends="libuuid-devel libICE-devel"
short_desc="X Session Management Library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"

View file

@ -4,8 +4,9 @@ version=1.5.0
revision=3
build_style=gnu-configure
configure_args="--enable-ipv6 --enable-xlocaledir --without-xmlto
--disable-secure-rpc --disable-static"
makedepends="pkg-config xproto>=7.0.23 xextproto xtrans xcmiscproto
--disable-secure-rpc --disable-static"
hostmakedepends="pkg-config"
makedepends="xproto>=7.0.23 xextproto xtrans xcmiscproto
kbproto bigreqsproto inputproto>=2.2 xf86bigfontproto libxcb-devel"
subpackages="$pkgname-devel"
short_desc="Base X libraries from modular Xorg X11"
@ -15,11 +16,8 @@ license="MIT"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=c382efd7e92bfc3cef39a4b7f1ecf2744ba4414a705e3bc1e697f75502bd4d86
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
makedepends="automake xorg-util-macros ${makedepends}"
crossmakedepends="xproto>=7.0.23 xextproto xtrans xcmiscproto
kbproto bigreqsproto inputproto>=2.2
xf86bigfontproto libxcb-devel"
if [ "$XBPS_CROSS_BUILD" ]; then
hostmakedepends="automake xorg-util-macros ${makedepends}"
pre_configure() {
sed -e 's|$(srcdir)/||g' -i nls/Makefile.am
autoreconf -fi

View file

@ -5,8 +5,8 @@ revision=5
subpackages="$pkgname-devel"
build_style=gnu-configure
configure_args="--disable-static"
makedepends="pkg-config xproto"
crossmakedepends="xproto"
hostmakedepends="pkg-config"
makedepends="xproto"
short_desc="Authorization Protocol for X"
homepage="$XORG_SITE"
license="MIT"

View file

@ -4,8 +4,8 @@ version=0.4.4
revision=2
subpackages="${pkgname}-devel"
build_style=gnu-configure
makedepends="pkg-config xproto fixesproto compositeproto libXfixes-devel"
crossmakedepends="xproto fixesproto compositeproto libXfixes-devel"
hostmakedepends="pkg-config"
makedepends="xproto fixesproto compositeproto libXfixes-devel"
short_desc="X Composite Library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://xorg.freedesktop.org"

View file

@ -4,8 +4,8 @@ version=1.1.13
revision=3
build_style=gnu-configure
subpackages="$pkgname-devel"
makedepends="pkg-config fixesproto>=5.0_1 libXfixes-devel libXrender-devel"
crossmakedepends="${makedepends}"
hostmakedepends="pkg-config"
makedepends="fixesproto>=5.0_1 libXfixes-devel libXrender-devel"
short_desc="Client-side cursor loading library for X"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://xorg.freedesktop.org/wiki/"

View file

@ -4,8 +4,8 @@ version=1.1.4
revision=2
subpackages="${pkgname}-devel"
build_style=gnu-configure
makedepends="pkg-config xproto damageproto libXfixes-devel"
crossmakedepends="${makedepends}"
hostmakedepends="pkg-config"
makedepends="xproto damageproto libXfixes-devel"
short_desc="The Xdamage extension Library"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.bz2"

View file

@ -5,8 +5,8 @@ revision=2
build_style=gnu-configure
configure_args="--disable-static"
subpackages="$pkgname-devel"
makedepends="pkg-config xproto"
crossmakedepends="xproto"
hostmakedepends="pkg-config"
makedepends="xproto"
short_desc="X Display Manager Control Protocol library from X.org"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"

View file

@ -5,8 +5,8 @@ revision=3
subpackages="$pkgname-devel"
build_style=gnu-configure
configure_args="--disable-static"
makedepends="pkg-config xextproto libX11-devel"
crossmakedepends="xextproto libX11-devel"
hostmakedepends="pkg-config"
makedepends="xextproto libX11-devel"
short_desc="X Extension library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"

View file

@ -4,8 +4,8 @@ version=5.0
revision=3
build_style=gnu-configure
subpackages="$pkgname-devel"
makedepends="pkg-config xproto xextproto fixesproto libX11-devel"
crossmakedepends="${makedepends}"
hostmakedepends="pkg-config"
makedepends="xproto xextproto fixesproto libX11-devel"
short_desc="Xfixes library and extension of X RandR from modular X.org"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="${XORG_SITE}"

View file

@ -4,8 +4,8 @@ version=1.6.2
revision=2
subpackages="$pkgname-devel"
build_style=gnu-configure
makedepends="pkg-config inputproto>=2.2 libXext-devel xmlto"
crossmakedepends="inputproto>=2.2 libXext-devel"
hostmakedepends="pkg-config xmlto"
makedepends="inputproto>=2.2 libXext-devel"
short_desc="X Input extension library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"

View file

@ -4,8 +4,8 @@ version=1.1.2
revision=2
subpackages="$pkgname-devel"
build_style=gnu-configure
makedepends="pkg-config xineramaproto libXext-devel"
crossmakedepends="${makedepends}"
hostmakedepends="pkg-config"
makedepends="xineramaproto libXext-devel"
short_desc="X PanoramiX extension library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"

View file

@ -5,8 +5,8 @@ revision=3
build_style=gnu-configure
configure_args="--disable-static"
subpackages="$pkgname-devel"
makedepends="pkg-config randrproto>=1.4.0 libXext-devel libXrender-devel"
crossmakedepends="randrproto>=1.4.0 libXext-devel libXrender-devel"
hostmakedepends="pkg-config"
makedepends="randrproto>=1.4.0 libXext-devel libXrender-devel"
short_desc="X RandR Library from X.org"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="${XORG_SITE}"

View file

@ -3,8 +3,8 @@ pkgname=libXrender
version=0.9.7
revision=3
build_style=gnu-configure
makedepends="pkg-config renderproto libXext-devel"
crossmakedepends="renderproto libXext-devel"
hostmakedepends="pkg-config"
makedepends="renderproto libXext-devel"
short_desc="X Render Library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"

View file

@ -3,7 +3,8 @@ pkgname=libXt
version=1.1.3
revision=2
build_style=gnu-configure
makedepends="pkg-config xproto kbproto libSM-devel libX11-devel"
hostmakedepends="pkg-config"
makedepends="xproto kbproto libSM-devel libX11-devel"
subpackages="$pkgname-devel"
short_desc="X Toolkit Intrinsics library"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -17,8 +18,7 @@ long_desc="
widgets. It also provides functions for handling events, initializing
windows, and interpreting resource files."
if [ -n "$XBPS_CROSS_BUILD" ]; then
makedepends="pkg-config xproto"
crossmakedepends="xproto kbproto libSM-devel libX11-devel"
if [ "$XBPS_CROSS_BUILD" ]; then
hostmakedepends="pkg-config xproto"
configure_args="CC_FOR_BUILD=cc CFLAGS_FOR_BUILD="
fi

View file

@ -4,8 +4,8 @@ version=1.0.7
revision=2
build_style=gnu-configure
subpackages="$pkgname-devel"
makedepends="pkg-config videoproto libX11-devel libXext-devel"
crossmakedepends="${makedepends}"
hostmakedepends="pkg-config"
makedepends="videoproto libX11-devel libXext-devel"
short_desc="Xv Extension library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"

View file

@ -4,8 +4,8 @@ version=1.0.7
revision=2
build_style=gnu-configure
subpackages="$pkgname-devel"
makedepends="pkg-config videoproto libX11-devel libXext-devel libXv-devel"
crossmakedepends="${makedepends}"
hostmakedepends="pkg-config"
makedepends="videoproto libX11-devel libXext-devel libXv-devel"
short_desc="XVideo Motion Compensation Library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"

View file

@ -13,10 +13,8 @@ license="BSD"
distfiles="http://www.libarchive.org/downloads/libarchive-${version}.tar.gz"
checksum=eb87eacd8fe49e8d90c8fdc189813023ccc319c5e752b01fb6ad0cc7b2c53d5e
if [ -n "${XBPS_CROSS_TRIPLET}" ]; then
makedepends="automake"
crossmakedepends="zlib-devel bzip2-devel acl-devel openssl-devel
liblzma-devel expat-devel"
if [ "$XBPS_CROSS_BUILD" ]; then
hostmakedepends="automake"
pre_configure() {
./build/autogen.sh
}

View file

@ -3,8 +3,8 @@ pkgname=libcap
version=2.22
revision=8
subpackages="$pkgname-devel $pkgname-pam $pkgname-progs"
makedepends="gperf perl pam-devel attr-devel"
crossmakedepends="pam-devel attr-devel"
hostmakedepends="gperf perl"
makedepends="pam-devel attr-devel"
short_desc="POSIX.1e capabilities suite"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://sites.google.com/site/fullycapable/"
@ -14,7 +14,7 @@ distfiles="ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${version}.tar.gz
checksum=e1cae65d8febf2579be37c255d2e058715785ead481a4e6a4357a06aff84721f
do_build() {
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
if [ "$XBPS_CROSS_BUILD" ]; then
make CC="$XBPS_CROSS_TRIPLET-gcc" BUILD_CC=gcc
else
make

View file

@ -6,8 +6,8 @@ patch_args="-Np1"
build_style=gnu-configure
configure_args="--enable-udev --enable-omap-experimental-api
--enable-exynos-experimental-api"
makedepends="automake pkg-config libudev-devel libpciaccess-devel"
crossmakedepends="libudev-devel libpciaccess-devel"
hostmakedepends="automake pkg-config"
makedepends="libudev-devel libpciaccess-devel"
subpackages="$pkgname-devel"
short_desc="Userspace interface to kernel DRM services"
maintainer="Juan RP <xtraeme@gmail.com>"

View file

@ -7,7 +7,6 @@ subpackages="$pkgname-devel"
build_style=gnu-configure
configure_args="--disable-static"
makedepends="openssl-devel"
crossmakedepends="${makedepends}"
short_desc="Abstract asynchronous event notification library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.monkey.org/~provos/libevent/"

View file

@ -5,7 +5,6 @@ revision=1
build_style=gnu-makefile
subpackages="${pkgname}-devel"
makedepends="openssl-devel"
crossmakedepends="$makedepends"
short_desc="File Transfer Library for URLs"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.FreeBSD.org"

View file

@ -6,7 +6,6 @@ build_style=gnu-configure
configure_args="--disable-static"
subpackages="$pkgname-devel"
makedepends="libgpg-error-devel"
crossmakedepends="${makedepends}"
short_desc="GNU cryptographic library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnupg.org"

View file

@ -5,7 +5,7 @@ revision=2
wrksrc=libnl-${version}
build_style=gnu-configure
configure_args="--disable-static"
makedepends="flex"
hostmakedepends="flex"
subpackages="${pkgname}-progs ${pkgname}-devel"
conf_files="/etc/libnl/pktloc /etc/libnl/classid"
short_desc="Netlink Protocol Library Suite"
@ -15,9 +15,9 @@ homepage="http://www.infradead.org/~tgr/libnl"
distfiles="${homepage}/files/libnl-${version}.tar.gz"
checksum=9750409c0fec8b27966a65d94c040647ee01753e0947b0d59577b815ee0e710d
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
makedepends="automake flex"
crossmakedepends="libfl-devel"
if [ "$XBPS_CROSS_BUILD" ]; then
hostmakedepends="automake flex"
makedepends="libfl-devel"
pre_configure() {
autoreconf -fi
}

View file

@ -4,8 +4,8 @@ version=1.3.0
revision=3
build_style=gnu-configure
configure_args="--enable-ipv6 --with-libnl --with-pcap=linux"
makedepends="automake pkg-config flex libnl3-devel"
crossmakedepends="libfl-devel libnl3-devel"
hostmakedepends="automake pkg-config flex"
makedepends="libfl-devel libnl3-devel"
subpackages="$pkgname-devel"
short_desc="System-independent interface for user-level packet capture"
maintainer="Juan RP <xtraeme@gmail.com>"

View file

@ -6,7 +6,6 @@ patch_args="-Np1"
build_style=gnu-configure
configure_args="--disable-static"
makedepends="zlib-devel"
crossmakedepends="zlib-devel"
subpackages="$pkgname-devel"
short_desc="Library for manipulating PNG images"
maintainer="Juan RP <xtraeme@gmail.com>"

View file

@ -15,9 +15,8 @@ license="GPL-2"
distfiles="https://fedorahosted.org/releases/l/i/$pkgname/$pkgname-$version.tar.bz2"
checksum=32cfbe302ade7e7271ed44bcae8aae3b6b55ca56ff642c4ece1752ffaa8003ee
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
makedepends="automake gettext-devel"
crossmakedepends="pam-devel"
if [ "$XBPS_CROSS_BUILD" ]; then
hostmakedepends="automake gettext-devel"
pre_configure() {
autoreconf -fi
}

View file

@ -7,8 +7,8 @@ conf_files="/etc/netconfig"
subpackages="$pkgname-devel"
build_style=gnu-configure
configure_args="--enable-gss --disable-static"
makedepends="automake pkg-config libgssglue-devel"
crossmakedepends="libgssglue-devel"
hostmakedepends="automake pkg-config"
makedepends="libgssglue-devel"
short_desc="Transport Independent RPC library (SunRPC replacement)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"

View file

@ -14,21 +14,19 @@ configure_args="--libexecdir=/usr/lib --disable-selinux
--disable-quotacheck --disable-randomseed --disable-hostnamed
--disable-timedated --disable-localed --disable-coredump
--disable-myhostname --disable-gudev --disable-keymap --without-python"
makedepends="pkg-config intltool gperf dbus-devel libcap-devel liblzma-devel
libgcrypt-devel libxslt docbook-xsl"
hostmakedepends="pkg-config intltool gperf libxslt docbook-xsl"
makedepends="dbus-devel libcap-devel liblzma-devel libgcrypt-devel"
subpackages="libudev-devel systemd-libs systemd-devel"
short_desc="udev shared library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.freedesktop.org/wiki/Software/systemd"
license="LGPL-2.1, GPL-2, MIT"
#distfiles="http://www.freedesktop.org/software/systemd/systemd-${version}.tar.xz"
distfiles="http://pkgs.fedoraproject.org/repo/pkgs/systemd/systemd-${version}.tar.xz/26a75e2a310f8c1c1ea9ec26ddb171c5/systemd-${version}.tar.xz"
distfiles="http://www.freedesktop.org/software/systemd/systemd-${version}.tar.xz"
checksum=444492355e5ff0ad99e0691ecaff1081ee8d45901580f47ba8b74e56107c71bf
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
makedepends="automake gettext-devel pkg-config intltool
if [ "$XBPS_CROSS_BUILD" ]; then
hostmakedepends="automake gettext-devel pkg-config intltool
gperf libxslt docbook-xsl libgcrypt-devel"
crossmakedepends="dbus-devel libcap-devel liblzma-devel libgcrypt-devel"
pre_configure() {
autoreconf -fi
}

View file

@ -4,7 +4,8 @@ version=1.3.3
revision=2
build_style=gnu-configure
subpackages="$pkgname-devel"
makedepends="pkg-config libogg-devel"
hostmakedepends="pkg-config"
makedepends="libogg-devel"
short_desc="The Vorbis General Audio Compression Codec"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
@ -19,9 +20,8 @@ long_desc="
The libvorbis package contains runtime libraries for use in programs
that support Ogg Vorbis."
if [ -n "$XBPS_CROSS_BUILD" ]; then
makedepends="automake pkg-config"
crossmakedepends="libogg-devel"
if [ "$XBPS_CROSS_BUILD" ]; then
hostmakedepends="automake pkg-config"
pre_configure() {
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac
./autogen.sh

View file

@ -5,9 +5,8 @@ revision=2
subpackages="$pkgname-devel"
build_style=gnu-configure
configure_args="--disable-build-docs --disable-static"
makedepends="pkg-config python libxslt docbook-xsl xcb-proto>=1.8
libXdmcp-devel libXau-devel"
crossmakedepends="libXdmcp-devel libXau-devel"
hostmakedepends="pkg-config python libxslt docbook-xsl"
makedepends="xcb-proto>=1.8 libXdmcp-devel libXau-devel"
short_desc="X protocol C-language Binding"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
@ -15,8 +14,8 @@ homepage="http://xcb.freedesktop.org"
distfiles="$homepage/dist/$pkgname-$version.tar.bz2"
checksum=8857e62b3aae2976c7e10043643e45a85964fd1dcb4469dfde0d04d3d1b12c96
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
makedepends="automake ${makedepends}"
if [ "$XBPS_CROSS_BUILD" ]; then
hostmakedepends="automake ${hostmakedepends}"
pre_configure() {
sed -e "s|pthread-stubs ||" -i configure.ac
autoreconf -fi

View file

@ -5,8 +5,7 @@ revision=2
build_style=gnu-configure
configure_args="--disable-static --with-threads --with-history"
subpackages="$pkgname-devel $pkgname-python"
makedepends="ncurses-devel readline-devel liblzma-devel python-devel"
crossmakedepends="zlib-devel ${makedepends}"
makedepends="zlib-devel ncurses-devel readline-devel liblzma-devel python-devel"
short_desc="Library providing XML and HTML support"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.xmlsoft.org/"
@ -14,15 +13,15 @@ license="MIT"
distfiles="http://xmlsoft.org/sources/$pkgname-$version.tar.gz"
checksum=f2e2d0e322685193d1affec83b21dc05d599e17a7306d7b90de95bb5b9ac622a
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
makedepends="automake gettext-devel ${makedepends}"
if [ "$XBPS_CROSS_BUILD" ]; then
hostmakedepends="automake gettext-devel"
pre_configure() {
sed -e "s|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g" -i configure.in
autoreconf -fi
}
pre_build() {
sed -e "s|/usr/\(include/python2.7\)|/usr/$XBPS_CROSS_TRIPLET/\1|g" \
-e "s|/usr/\(lib/python2.7/site-packages\)|/usr/$XBPS_CROSS_TRIPLET/\1|g" \
sed -e "s|/usr/\(include/python2.7\)|$XBPS_CROSS_BUILD/\1|g" \
-e "s|/usr/\(lib/python2.7/site-packages\)|$XBPS_CROSS_BASE/\1|g" \
-i python/Makefile
}
fi

View file

@ -5,7 +5,6 @@ revision=2
patch_args="-Np1"
distfiles="http://www.lua.org/ftp/$pkgname-$version.tar.gz"
makedepends="ncurses-devel readline-devel"
crossmakedepends="${makedepends}"
short_desc="Lua is a powerful, fast, lightweight, embeddable scripting language."
maintainer="Robert Djubek <envy1988@gmail.com>"
homepage="http://www.lua.org"

View file

@ -5,8 +5,8 @@ revision=2
build_style=gnu-configure
configure_args="--with-doxygen"
subpackages="lutok-devel"
makedepends="pkg-config doxygen lua-devel"
crossmakedepends="lua-devel"
hostmakedepends="pkg-config doxygen"
makedepends="lua-devel"
short_desc="Lightweight C++ API for Lua"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"

View file

@ -11,7 +11,8 @@ configure_args="--disable-selinux --enable-readline --enable-pkgconfig
--with-systemdsystemunitdir=/usr/lib/systemd/system
--with-default-dm-run-dir=/run --with-default-run-dir=/run/lvm
--with-default-locking-dir=/run/lock/lvm --enable-lvmetad"
makedepends="pkg-config readline-devel libudev-devel>=183"
hostmakedepends="pkg-config"
makedepends="readline-devel libudev-devel>=183"
subpackages="liblvm2app liblvm2app-devel device-mapper device-mapper-devel"
conf_files="/etc/lvm/lvm.conf"
short_desc="Logical Volume Manager 2 utilities"
@ -22,12 +23,10 @@ distfiles="ftp://sources.redhat.com/pub/lvm2/LVM2.${version}.tgz"
checksum=71030a58fef7e00d82ca4144334548e46aad24551a3cfbe7c3059b1bd137d864
make_dirs="
/etc/lvm/archive 0755 root root
/etc/lvm/backup 0755 root root"
/etc/lvm/archive 0755 root root
/etc/lvm/backup 0755 root root"
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
makedepends="pkg-config"
crossmakedepends="readline-devel libudev-devel"
if [ "$XBPS_CROSS_BUILD" ]; then
configure_args="${configure_args} ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_realloc_0_nonnull=yes"
fi

View file

@ -7,8 +7,8 @@ configure_args="--with-db=gdbm --with-pager=less --with-gzip=/usr/bin/gzip
--with-bzip2=/usr/bin/bzip2 --disable-rpath --enable-threads=posix
--with-lzma=/usr/bin/lzma --with-xz=/usr/bin/xz --disable-setuid
--without-included-regex --enable-automatic-create"
makedepends="pkg-config groff gdbm-devel zlib-devel libpipeline-devel"
crossmakedepends="gdbm-devel zlib-devel libpipeline-devel"
hostmakedepends="pkg-config groff"
makedepends="gdbm-devel zlib-devel libpipeline-devel"
depends="bzip2 gzip less groff grep coreutils"
conf_files="/etc/man_db.conf"
short_desc="The on-line manual database"

View file

@ -4,7 +4,6 @@ version=2.5.2
revision=1
build_style=python-module
makedepends="python-devel"
crossmakedepends="python-devel"
pycompile_module="${pkgname} hgext"
short_desc="Fast, lightweight source control management system"
maintainer="Juan RP <xtraeme@gmail.com>"

View file

@ -9,7 +9,8 @@ configure_script="./src/configure"
configure_args="--disable-rpath --with-system-et
--with-system-ss --with-system-db --enable-shared"
depends="mit-krb5-client-${version}_${revision}"
makedepends="perl flex db-devel e2fsprogs-devel openssl-devel"
hostmakedepends="perl flex"
makedepends="libfl-devel db-devel e2fsprogs-devel openssl-devel"
subpackages="${pkgname}-devel ${pkgname}-libs ${pkgname}-client"
conflicts="heimdal>=0"
short_desc="MIT Kerberos 5 implementation"
@ -19,9 +20,8 @@ homepage="http://web.mit.edu/Kerberos"
distfiles="$homepage/dist/krb5/1.11/krb5-$version-signed.tar"
checksum=fe37fb93b398db98a1b23f814673ea2ae4b90138f85e1a4027ef639456a78651
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
makedepends="perl flex e2fsprogs-devel"
crossmakedepends="libfl-devel db-devel e2fsprogs-devel openssl-devel"
if [ "$XBPS_CROSS_BUILD" ]; then
hostmakedepends="${hostmakedepends} e2fsprogs-devel"
configure_args="${configure_args}
ac_cv_func_pthread_once=yes
ac_cv_func_pthread_rwlock_init=yes

View file

@ -6,7 +6,6 @@ build_style=gnu-configure
subpackages="mpc-devel"
configure_args="EGREP=egrep"
makedepends="gmp-devel mpfr-devel"
crossmakedepends="${makedepends}"
short_desc="C library for the arithmetic of complex numbers"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.multiprecision.org"

View file

@ -6,7 +6,6 @@ build_style=gnu-configure
configure_args="--enable-thread-safe"
subpackages="$pkgname-devel"
makedepends="gmp-devel"
crossmakedepends="${makedepends}"
short_desc="Library for multiple-precision floating-point computations"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-3"

View file

@ -7,7 +7,8 @@ build_style=gnu-configure
configure_args="--with-module-suffix=.so --with-optimization=4
--with-default-audio=alsa --enable-ipv6=yes --enable-network=yes"
depends="mpg123-alsa>=1.14.1"
makedepends="pkg-config libltdl-devel alsa-lib-devel"
hostmakedepends="pkg-config"
makedepends="alsa-lib-devel libltdl-devel"
short_desc="Fast console mpeg audio decoder/player"
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="http://www.mpg123.de/"

View file

@ -3,7 +3,6 @@ pkgname=mtd-utils
version=1.5.0
revision=2
makedepends="zlib-devel lzo-devel acl-devel libuuid-devel"
crossmakedepends="${makedepends}"
short_desc="Memory Technology Device Utilities"
maintainer="pancake <pancake@nopcode.org>"
license="GPL-2"
@ -16,7 +15,7 @@ long_desc="
(journaling flash file system) filesystems."
do_build() {
if [ -n "$XBPS_CROSS_BUILD" ]; then
if [ "$XBPS_CROSS_BUILD" ]; then
make CROSS=${XBPS_CROSS_TRIPLET}- ${makejobs}
else
make ${makejobs}
@ -24,7 +23,7 @@ do_build() {
}
do_install() {
if [ -n "$XBPS_CROSS_BUILD" ]; then
if [ "$XBPS_CROSS_BUILD" ]; then
make CROSS=${XBPS_CROSS_TRIPLET}- DESTDIR=${DESTDIR} install
else
make DESTDIR=${DESTDIR} install

View file

@ -3,8 +3,8 @@ pkgname=nano
version=2.3.1
revision=5
build_style=gnu-configure
makedepends="ncurses-devel groff"
crossmakedepends="ncurses-devel"
hostmakedepends="groff"
makedepends="ncurses-devel"
short_desc="The GNU nano editor"
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="http://www.nano-editor.org/"

View file

@ -2,8 +2,8 @@
pkgname=newlisp
version=10.4.5
revision=2
makedepends="which readline-devel libffi-devel"
crossmakedepends="readline-devel libffi-devel"
hostmakedepends="which"
makedepends="readline-devel libffi-devel"
short_desc="Lisp-like, general-purpose scripting language"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3, zlib, $pkgname"
@ -19,7 +19,7 @@ long_desc="
support for distributed and parallel processing, and Bayesian statistics."
do_build() {
if [ "$XBPS_MACHINE" = "x86_64" ]; then
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
export CFLAGS="$CFLAGS -DNEWLISP64"
fi
make -f makefile_linuxLP64_utf8_ffi ${makejobs}

View file

@ -5,7 +5,6 @@ revision=7
build_style=gnu-configure
configure_args="--enable-linuxcap"
makedepends="readline-devel openssl-devel libcap-devel"
crossmakedepends="${makedepends}"
short_desc="The Network Time Protocol daemon and utilities"
license="BSD"
maintainer="Juan RP <xtraeme@gmail.com>"

View file

@ -6,7 +6,7 @@ patch_args="-Np1"
build_style=gnu-configure
build_wrksrc=dist
configure_args="--enable-widechar --enable-threads --disable-static
vi_cv_path_preserve=/var/tmp"
vi_cv_path_preserve=/var/tmp vi_cv_sprintf_count=yes"
makedepends="ncurses-devel db-devel"
short_desc="The Berkeley Vi Editor"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -15,11 +15,6 @@ homepage="http://garage.linux.student.kuleuven.be/~skimo/nvi"
distfiles="${homepage}/devel/nvi-$version.tar.bz2"
checksum=3441b8e3247b2b6dd19b5fd38355fe6593b2a92e960ecb3dd00d676f63d06b59
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
crossmakedepends="${makedepends}"
configure_args="${configure_args} vi_cv_sprintf_count=yes"
fi
pre_build() {
sed -i -e '/define.*_PATH_MSGCAT/ s/".*"/"\/usr\/share\/vi\/catalog\/"/' pathnames.h
}

View file

@ -9,8 +9,8 @@ configure_args="--without-tcp-wrappers --datadir=/usr/share/openssh
--with-ssl-engine --disable-strip --with-privsep-path=/var/chroot/ssh
--with-kerberos5=/usr --with-pid-dir=/run --with-pam LD=$CC"
replaces="openssh-client<6.1p1"
makedepends="perl openssl-devel pam-devel e2fsprogs-devel mit-krb5-devel"
crossmakedepends="zlib-devel openssl-devel pam-devel mit-krb5-devel"
hostmakedepends="perl"
makedepends="zlib-devel openssl-devel pam-devel mit-krb5-devel"
conf_files="/etc/ssh/moduli /etc/ssh/ssh_config"
subpackages="$pkgname-server"
short_desc="The OpenSSH implementation of SSH protocol versions 1 and 2 (client)"

View file

@ -4,7 +4,7 @@ _openssl_version=1.0.1
version=${_openssl_version}e
revision=3
fulldepends="perl"
crossmakedepends="zlib-devel"
makedepends="zlib-devel"
conf_files="/etc/ssl/openssl.cnf"
subpackages="libssl openssl-devel"
short_desc="Secure Socket Layer and cryptographic library - runtime utilities"

View file

@ -11,8 +11,8 @@ distfiles="http://downloads.xiph.org/releases/opus/${pkgname}-${version}.tar.gz"
checksum=b4a678b3b6c4adfb6aff1f67ef658becfe146ea7c7ff228e99543762171557f9
subpackages="${pkgname}-devel"
makedepends="pkg-config libogg-devel opus-devel openssl-devel"
crossmakedepends="${makedepends}"
hostmakedepends="pkg-config"
makedepends="libogg-devel opus-devel openssl-devel"
post_install() {
rm -rf ${DESTDIR}/usr/share

View file

@ -7,8 +7,8 @@ build_style=gnu-configure
configure_args="--libdir=/usr/lib --sbindir=/usr/sbin --docdir=/usr/share/doc/pam"
depends="cracklib"
subpackages="pam-devel pam-userdb pam-libs"
makedepends="flex cracklib-devel db-devel libtirpc-devel"
crossmakedepends="libfl-devel cracklib-devel db-devel libtirpc-devel"
hostmakedepends="flex"
makedepends="libfl-devel cracklib-devel db-devel libtirpc-devel"
short_desc="A flexible mechanism for authenticating users"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.kernel.org/pub/linux/libs/pam/"
@ -26,8 +26,8 @@ conf_files="
/etc/security/pam_env.conf
/etc/security/time.conf"
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
makedepends="flex automake gettext-devel pkg-config"
if [ "$XBPS_CROSS_BUILD" ]; then
hostmakedepends="flex automake gettext-devel pkg-config"
pre_configure() {
autoreconf -fi
}

View file

@ -5,9 +5,8 @@ revision=3
subpackages="libparted libparted-devel"
build_style=gnu-configure
configure_args="--without-included-regex --disable-rpath"
makedepends="pkg-config libuuid-devel libblkid-devel ncurses-devel
readline-devel device-mapper-devel"
crossmakedepends="${makedepends}"
hostmakedepends="pkg-config"
makedepends="libuuid-devel libblkid-devel ncurses-devel readline-devel device-mapper-devel"
short_desc="The GNU Parted disk partition resizing program"
homepage="http://www.gnu.org/software/parted/"
license="GPL-3"

View file

@ -9,7 +9,6 @@ configure_args="--enable-utf8 --enable-unicode-properties --with-pic
--enable-pcretest-libreadline --disable-pcregrep-jit --enable-jit
--disable-static"
makedepends="zlib-devel bzip2-devel readline-devel"
crossmakedepends="${makedepends}"
short_desc="Perl Compatible Regular Expressions"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.pcre.org/"
@ -17,11 +16,9 @@ license="BSD"
distfiles="${SOURCEFORGE_SITE}/pcre/pcre-$version.tar.bz2"
checksum=a913fb9bd058ef380a2d91847c3c23fcf98e92dc3b47cd08a53c021c5cde0f55
if [ "$XBPS_CROSS_TRIPLET" ]; then
makedepends="automake ${makedepends}"
pre_configure() {
if [ "$XBPS_CROSS_BUILD" ]; then
hostmakedepends="automake"
pre_configure() {
autoreconf -fi
}
}
fi

Some files were not shown because too many files have changed in this diff Show more