Update packages for xbps-src>=53: use configure_args, get rid of CONFIGURE_SHARED_ARGS.
This commit is contained in:
parent
633f5d2fbb
commit
3d8593b009
52 changed files with 214 additions and 230 deletions
|
@ -20,7 +20,7 @@ long_desc="
|
||||||
macro calls."
|
macro calls."
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} --program-suffix='-2.13'
|
./configure ${configure_args} --program-suffix='-2.13'
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
|
|
@ -33,20 +33,17 @@ pre_configure() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
local args
|
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
args="--with-openssl=$XBPS_CROSS_BASE
|
configure_args+=" --with-openssl=$XBPS_CROSS_BASE
|
||||||
--with-gssapi=$XBPS_CROSS_BASE
|
--with-gssapi=$XBPS_CROSS_BASE
|
||||||
--with-libxml2=$XBPS_CROSS_BASE
|
--with-libxml2=$XBPS_CROSS_BASE"
|
||||||
BUILD_CC=cc BUILD_CFLAGS=-Os"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} --disable-static \
|
./configure ${configure_args} --disable-static \
|
||||||
--enable-threads --enable-largefile \
|
--enable-threads --enable-largefile \
|
||||||
--with-libtool --enable-atomic --sysconfdir=/etc/named \
|
--with-libtool --enable-atomic --sysconfdir=/etc/named \
|
||||||
--enable-epoll --with-gost=no --enable-ipv6 \
|
--enable-epoll --with-gost=no --enable-ipv6 \
|
||||||
--with-randomdev=/dev/urandom ${args}
|
--with-randomdev=/dev/urandom
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
|
|
@ -20,7 +20,7 @@ do_configure() {
|
||||||
CONFIGFLAG="--enable-64-bit-bfd --enable-multilib"
|
CONFIGFLAG="--enable-64-bit-bfd --enable-multilib"
|
||||||
fi
|
fi
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
# Do not use CONFIGURE_SHARED_ARGS nor build_style=gnu-configure,
|
# Do not use configure_args nor build_style=gnu-configure,
|
||||||
# avoiding --with-sysroot to $XBPS_CROSS_BASE.
|
# avoiding --with-sysroot to $XBPS_CROSS_BASE.
|
||||||
CONFIGFLAG="--host=$XBPS_CROSS_TRIPLET --with-build-sysroot=$XBPS_CROSS_BASE"
|
CONFIGFLAG="--host=$XBPS_CROSS_TRIPLET --with-build-sysroot=$XBPS_CROSS_BASE"
|
||||||
fi
|
fi
|
||||||
|
@ -31,6 +31,7 @@ do_configure() {
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
|
|
||||||
# Rebuild libiberty.a with -fPIC
|
# Rebuild libiberty.a with -fPIC
|
||||||
cp -a libiberty libiberty-pic
|
cp -a libiberty libiberty-pic
|
||||||
make -C libiberty-pic clean
|
make -C libiberty-pic clean
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
# Template file for 'cdparanoia'.
|
# Template file for 'cdparanoia'.
|
||||||
pkgname=cdparanoia
|
pkgname=cdparanoia
|
||||||
version=10.2
|
version=10.2
|
||||||
revision=4
|
revision=5
|
||||||
wrksrc="${pkgname}-III-${version}"
|
wrksrc="${pkgname}-III-${version}"
|
||||||
makedepends="libtool automake"
|
hostmakedepends="libtool automake"
|
||||||
|
build_style=gnu-configure
|
||||||
short_desc="CDDA reading utility with extra data verification features"
|
short_desc="CDDA reading utility with extra data verification features"
|
||||||
homepage="https://www.xiph.org/paranoia/"
|
homepage="https://www.xiph.org/paranoia/"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
|
@ -25,21 +26,13 @@ pre_configure() {
|
||||||
autoreconf -i
|
autoreconf -i
|
||||||
}
|
}
|
||||||
|
|
||||||
do_configure() {
|
|
||||||
./configure ${CONFIGURE_SHARED_ARGS}
|
|
||||||
}
|
|
||||||
|
|
||||||
do_build() {
|
|
||||||
make
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make prefix=${DESTDIR}/usr MANDIR=${DESTDIR}/usr/share/man install
|
make prefix=${DESTDIR}/usr MANDIR=${DESTDIR}/usr/share/man install
|
||||||
}
|
}
|
||||||
|
|
||||||
cdparanoia-devel_package() {
|
cdparanoia-devel_package() {
|
||||||
depends="cdparanoia>=${version}"
|
depends="cdparanoia>=${version}"
|
||||||
short_desc+=" -- development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove "usr/lib/*.a"
|
vmove "usr/lib/*.a"
|
||||||
|
|
|
@ -21,7 +21,7 @@ do_configure() {
|
||||||
CONFIGFLAG="--enable-64-bit-bfd --enable-multilib"
|
CONFIGFLAG="--enable-64-bit-bfd --enable-multilib"
|
||||||
fi
|
fi
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
# Do not use CONFIGURE_SHARED_ARGS nor build_style=gnu-configure,
|
# Do not use configure_args nor build_style=gnu-configure,
|
||||||
# avoiding --with-sysroot to $XBPS_CROSS_BASE.
|
# avoiding --with-sysroot to $XBPS_CROSS_BASE.
|
||||||
CONFIGFLAG="--host=$XBPS_CROSS_TRIPLET --with-build-sysroot=$XBPS_CROSS_BASE"
|
CONFIGFLAG="--host=$XBPS_CROSS_TRIPLET --with-build-sysroot=$XBPS_CROSS_BASE"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -15,14 +15,14 @@ bootstrap=yes
|
||||||
do_configure() {
|
do_configure() {
|
||||||
sed -i -e 's|^\(all: $(bin_PROGRAMS)\) pump include-server|\1|g' Makefile.in
|
sed -i -e 's|^\(all: $(bin_PROGRAMS)\) pump include-server|\1|g' Makefile.in
|
||||||
|
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} --with-included-popt \
|
./configure ${configure_args} --with-included-popt \
|
||||||
--without-avahi --without-gnome \
|
--without-avahi --without-gnome \
|
||||||
--without-gtk --disable-Werror \
|
--without-gtk --disable-Werror \
|
||||||
ac_cv_path_PYTHON=/bin/false
|
ac_cv_path_PYTHON=/bin/false
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make ${makejobs}
|
make ${make_build_args}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
|
@ -35,12 +35,12 @@ do_configure() {
|
||||||
_floatabi="--with-float=hard"
|
_floatabi="--with-float=hard"
|
||||||
fi
|
fi
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
_headers="--with-headers=/usr/$XBPS_CROSS_TRIPLET/include"
|
_headers="--with-headers=$XBPS_CROSS_BASE/usr/include"
|
||||||
else
|
else
|
||||||
_headers="--with-headers=/usr/include"
|
_headers="--with-headers=/usr/include"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SHELL=/bin/bash ../configure ${CONFIGURE_SHARED_ARGS} \
|
SHELL=/bin/bash ../configure ${configure_args}
|
||||||
--enable-add-ons=ports,nptl,libidn \
|
--enable-add-ons=ports,nptl,libidn \
|
||||||
--enable-multi-arch --enable-obsolete-rpc \
|
--enable-multi-arch --enable-obsolete-rpc \
|
||||||
--enable-bind-now --enable-kernel=2.6.27 \
|
--enable-bind-now --enable-kernel=2.6.27 \
|
||||||
|
@ -51,7 +51,8 @@ do_configure() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
cd build && make ${makejobs}
|
cd build
|
||||||
|
make ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
@ -59,7 +60,7 @@ do_install() {
|
||||||
mkdir -p ${DESTDIR}/etc
|
mkdir -p ${DESTDIR}/etc
|
||||||
echo "include /etc/ld.so.conf.d/*.conf" > ${DESTDIR}/etc/ld.so.conf
|
echo "include /etc/ld.so.conf.d/*.conf" > ${DESTDIR}/etc/ld.so.conf
|
||||||
|
|
||||||
cd ${wrksrc}/build
|
cd build
|
||||||
make SHELL=/bin/bash install_root=${DESTDIR} install
|
make SHELL=/bin/bash install_root=${DESTDIR} install
|
||||||
|
|
||||||
# ldd is a bash script, so make it run as such.
|
# ldd is a bash script, so make it run as such.
|
||||||
|
|
|
@ -15,18 +15,20 @@ bootstrap=yes
|
||||||
if [ "$IN_CHROOT" ]; then
|
if [ "$IN_CHROOT" ]; then
|
||||||
makedepends="ncurses-devel"
|
makedepends="ncurses-devel"
|
||||||
fi
|
fi
|
||||||
|
if [ "CROSS_BUILD" ]; then
|
||||||
|
hostmakedepends="ncurses-devel"
|
||||||
|
fi
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} --disable-nls
|
./configure ${configure_args} --disable-nls
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
if [ -d tools ]; then
|
if [ -d tools ]; then
|
||||||
make ${makejobs} -C tools/gnulib/lib && \
|
make ${makejobs} -C tools/gnulib/lib
|
||||||
make ${makejobs} -C tools && make ${makejobs}
|
make ${makejobs} -C tools
|
||||||
else
|
|
||||||
make ${makejobs}
|
|
||||||
fi
|
fi
|
||||||
|
make ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
|
@ -13,18 +13,18 @@ checksum=adaa44bdab3fa5eb352e80d8a31fdbf957b78653d0c2cd30d63e161444288e18
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
_confargs="fu_cv_sys_stat_statfs2_bsize=yes \
|
configure_args+=" fu_cv_sys_stat_statfs2_bsize=yes
|
||||||
gl_cv_func_working_mkstemp=yes
|
gl_cv_func_working_mkstemp=yes
|
||||||
gl_cv_func_working_acl_get_file=yes"
|
gl_cv_func_working_acl_get_file=yes "
|
||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
# Do not install kill: provided by util-linux.
|
# Do not install kill: provided by util-linux.
|
||||||
# Do not install uptime: provided by procps-ng.
|
# Do not install uptime: provided by procps-ng.
|
||||||
#
|
#
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} \
|
./configure ${configure_args} \
|
||||||
--enable-install-program=hostname \
|
--enable-install-program=hostname \
|
||||||
--enable-no-install-program=kill,uptime \
|
--enable-no-install-program=kill,uptime \
|
||||||
--disable-rpath ${_confargs}
|
--disable-rpath
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
@ -32,12 +32,12 @@ do_build() {
|
||||||
cp Makefile Makefile.orig
|
cp Makefile Makefile.orig
|
||||||
sed '/src_make_prime_list/d' Makefile.orig > Makefile
|
sed '/src_make_prime_list/d' Makefile.orig > Makefile
|
||||||
depbase=`echo src/make-prime-list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
|
depbase=`echo src/make-prime-list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
|
||||||
gcc -std=gnu99 -I. -I./lib -Ilib -I./lib -Isrc -I./src \
|
cc -std=gnu99 -I. -I./lib -Ilib -I./lib -Isrc -I./src \
|
||||||
-fdiagnostics-show-option -funit-at-a-time -g -O2 -MT \
|
-fdiagnostics-show-option -funit-at-a-time -g -O2 -MT \
|
||||||
src/make-prime-list.o -MD -MP -MF $depbase.Tpo -c -o src/make-prime-list.o \
|
src/make-prime-list.o -MD -MP -MF $depbase.Tpo -c -o src/make-prime-list.o \
|
||||||
src/make-prime-list.c &&
|
src/make-prime-list.c &&
|
||||||
mv -f $depbase.Tpo $depbase.Po
|
mv -f $depbase.Tpo $depbase.Po
|
||||||
gcc -std=gnu99 -fdiagnostics-show-option -funit-at-a-time -g -O2 \
|
cc -std=gnu99 -fdiagnostics-show-option -funit-at-a-time -g -O2 \
|
||||||
-Wl,--as-needed -o src/make-prime-list src/make-prime-list.o
|
-Wl,--as-needed -o src/make-prime-list src/make-prime-list.o
|
||||||
cp Makefile Makefile.bak
|
cp Makefile Makefile.bak
|
||||||
sed -e '/hostname.1/d' Makefile.bak > Makefile
|
sed -e '/hostname.1/d' Makefile.bak > Makefile
|
||||||
|
|
|
@ -21,7 +21,7 @@ pre_configure() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} --libdir=/usr/lib \
|
./configure ${configure_args} --libdir=/usr/lib \
|
||||||
--enable-acl --enable-dbus --enable-raw-printing \
|
--enable-acl --enable-dbus --enable-raw-printing \
|
||||||
--enable-threads --with-logdir=/var/log/cups \
|
--enable-threads --with-logdir=/var/log/cups \
|
||||||
--with-docdir=/usr/share/cups/doc \
|
--with-docdir=/usr/share/cups/doc \
|
||||||
|
|
|
@ -28,7 +28,7 @@ makedepends="openssl-devel db-devel>=5.3 libldap-devel mit-krb5-devel pam-devel
|
||||||
postgresql-libs-devel libmysqlclient-devel>=5.5.27 sqlite-devel"
|
postgresql-libs-devel libmysqlclient-devel>=5.5.27 sqlite-devel"
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} --disable-static --enable-shared \
|
./configure ${configure_args} --disable-static --enable-shared \
|
||||||
--enable-alwaystrue --enable-checkapop --enable-cram \
|
--enable-alwaystrue --enable-checkapop --enable-cram \
|
||||||
--enable-digest --disable-otp --disable-srp \
|
--enable-digest --disable-otp --disable-srp \
|
||||||
--disable-srp-setpass --disable-krb4 --enable-gssapi \
|
--disable-srp-setpass --disable-krb4 --enable-gssapi \
|
||||||
|
|
|
@ -12,7 +12,7 @@ checksum=ddd92a930317df92021054c03992392db9ea5cddba43bef8920d392a82114fb8
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
cd build_unix
|
cd build_unix
|
||||||
../dist/configure ${CONFIGURE_SHARED_ARGS} --enable-compat185 \
|
../dist/configure ${configure_args} --enable-compat185 \
|
||||||
--enable-cxx --enable-static --enable-dbm
|
--enable-cxx --enable-static --enable-dbm
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -53,6 +53,8 @@ pre_configure() {
|
||||||
[ ! -d systemd-bootstrap ] && mkdir systemd-bootstrap
|
[ ! -d systemd-bootstrap ] && mkdir systemd-bootstrap
|
||||||
cd systemd-bootstrap
|
cd systemd-bootstrap
|
||||||
|
|
||||||
|
unset PKG_CONFIG_SYSROOT_DIR PKG_CONFIG_PATH
|
||||||
|
|
||||||
env PKG_CONFIG_LIBDIR=${wrksrc}/tmpbuild/usr/lib/pkgconfig \
|
env PKG_CONFIG_LIBDIR=${wrksrc}/tmpbuild/usr/lib/pkgconfig \
|
||||||
../systemd-${_systemd_version}/configure ${_confargs} \
|
../systemd-${_systemd_version}/configure ${_confargs} \
|
||||||
--prefix=/usr --disable-nls \
|
--prefix=/usr --disable-nls \
|
||||||
|
@ -87,11 +89,9 @@ do_configure() {
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
_confargs="--host=$XBPS_CROSS_TRIPLET
|
export PKG_CONFIG_LIBDIR="${_systemddir}/lib/pkgconfig"
|
||||||
--with-libtool-sysroot=$XBPS_CROSS_BASE
|
|
||||||
PKG_CONFIG_LIBDIR=${_systemddir}/lib/pkgconfig"
|
|
||||||
fi
|
fi
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} \
|
./configure ${configure_args} \
|
||||||
--disable-selinux --enable-userdb-cache --with-xml=expat \
|
--disable-selinux --enable-userdb-cache --with-xml=expat \
|
||||||
--disable-dnotify --enable-inotify --with-dbus-user=dbus \
|
--disable-dnotify --enable-inotify --with-dbus-user=dbus \
|
||||||
--disable-doxygen-docs --disable-xml-docs --disable-static \
|
--disable-doxygen-docs --disable-xml-docs --disable-static \
|
||||||
|
@ -100,7 +100,7 @@ do_configure() {
|
||||||
--with-system-pid-file=/run/dbus/pid \
|
--with-system-pid-file=/run/dbus/pid \
|
||||||
--with-console-auth-dir=/run/console/ \
|
--with-console-auth-dir=/run/console/ \
|
||||||
--with-systemdsystemunitdir=/usr/lib/systemd/system \
|
--with-systemdsystemunitdir=/usr/lib/systemd/system \
|
||||||
--enable-abstract-sockets --enable-systemd ${_confargs} \
|
--enable-abstract-sockets --enable-systemd \
|
||||||
ac_cv_have_abstract_sockets=yes
|
ac_cv_have_abstract_sockets=yes
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'fftw'
|
# Template file for 'fftw'
|
||||||
pkgname=fftw
|
pkgname=fftw
|
||||||
version=3.3.3
|
version=3.3.3
|
||||||
revision=2
|
revision=3
|
||||||
short_desc="Library for computing the discrete Fourier transform (DFT)"
|
short_desc="Library for computing the discrete Fourier transform (DFT)"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
|
@ -32,36 +32,36 @@ do_configure() {
|
||||||
|
|
||||||
# double precision
|
# double precision
|
||||||
mkdir build-double
|
mkdir build-double
|
||||||
cd ${wrksrc}/build-double && \
|
cd ${wrksrc}/build-double
|
||||||
../configure ${CONFIGURE_SHARED_ARGS} ${CARGS} ${_sse2}
|
../configure ${configure_args} ${CARGS} ${_sse2}
|
||||||
|
|
||||||
# long double precission
|
# long double precission
|
||||||
mkdir ${wrksrc}/build-long-double
|
mkdir ${wrksrc}/build-long-double
|
||||||
cd ${wrksrc}/build-long-double && \
|
cd ${wrksrc}/build-long-double
|
||||||
../configure ${CONFIGURE_SHARED_ARGS} \
|
../configure ${configure_args} ${CARGS} --enable-long-double
|
||||||
${CARGS} --enable-long-double
|
|
||||||
|
|
||||||
# single precission
|
# single precission
|
||||||
mkdir ${wrksrc}/build-single
|
mkdir ${wrksrc}/build-single
|
||||||
cd ${wrksrc}/build-single && \
|
cd ${wrksrc}/build-single
|
||||||
../configure ${CONFIGURE_SHARED_ARGS} ${CARGS} \
|
../configure ${configure_args} ${CARGS} --enable-float ${_sse}
|
||||||
--enable-float ${_sse}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
for f in double long-double single; do
|
for f in double long-double single; do
|
||||||
cd ${wrksrc}/build-${f} && make ${makejobs}
|
cd ${wrksrc}/build-${f}
|
||||||
|
make ${makejobs}
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
for f in double long-double single; do
|
for f in double long-double single; do
|
||||||
cd ${wrksrc}/build-${f} && make DESTDIR=${DESTDIR} install
|
cd ${wrksrc}/build-${f}
|
||||||
|
make DESTDIR=${DESTDIR} install
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
libfftw_package() {
|
libfftw_package() {
|
||||||
short_desc="${short_desc} - Runtime library"
|
short_desc+=" - Runtime library"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "usr/lib/*.so*"
|
vmove "usr/lib/*.so*"
|
||||||
}
|
}
|
||||||
|
@ -69,7 +69,7 @@ libfftw_package() {
|
||||||
|
|
||||||
fftw-devel_package() {
|
fftw-devel_package() {
|
||||||
depends="libfftw>=${version}"
|
depends="libfftw>=${version}"
|
||||||
short_desc="${short_desc} - Development files"
|
short_desc+=" - Development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
|
|
|
@ -20,7 +20,7 @@ do_configure() {
|
||||||
sed -i 's|"/data"|"/share/foobillardplus"|' src/language.c
|
sed -i 's|"/data"|"/share/foobillardplus"|' src/language.c
|
||||||
sed -i 's|/opt/foobillardplus/bin/||' foobillardplus.desktop
|
sed -i 's|/opt/foobillardplus/bin/||' foobillardplus.desktop
|
||||||
sed -i 's|/opt/foobillardplus/||' foobillardplus.desktop
|
sed -i 's|/opt/foobillardplus/||' foobillardplus.desktop
|
||||||
./configure ${CONFIGURE_SHARED_ARGS}
|
./configure ${configure_args}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
|
|
@ -21,7 +21,7 @@ pre_configure() {
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
# configure ghostscript
|
# configure ghostscript
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} --enable-dynamic --with-ijs \
|
./configure ${configure_args} --enable-dynamic --with-ijs \
|
||||||
--with-jbig2dec --with-omni --with-x --with-drivers=ALL \
|
--with-jbig2dec --with-omni --with-x --with-drivers=ALL \
|
||||||
--with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts \
|
--with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts \
|
||||||
--with-install-cups --enable-fontconfig --enable-freetype \
|
--with-install-cups --enable-fontconfig --enable-freetype \
|
||||||
|
@ -32,7 +32,7 @@ do_configure() {
|
||||||
sed -i -e "s|AM_PROG_CC_STDC|AC_PROG_CC|g" ijs/configure.ac
|
sed -i -e "s|AM_PROG_CC_STDC|AC_PROG_CC|g" ijs/configure.ac
|
||||||
cd ijs
|
cd ijs
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} --enable-shared --disable-static
|
./configure ${configure_args} --enable-shared --disable-static
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
|
|
@ -17,7 +17,8 @@ force_debug_pkgs=yes
|
||||||
do_configure() {
|
do_configure() {
|
||||||
local _headers _floatabi
|
local _headers _floatabi
|
||||||
|
|
||||||
mkdir build && cd build
|
mkdir build
|
||||||
|
cd build
|
||||||
|
|
||||||
echo "slibdir=/usr/lib" > configparms
|
echo "slibdir=/usr/lib" > configparms
|
||||||
echo "bindir=/usr/bin" >> configparms
|
echo "bindir=/usr/bin" >> configparms
|
||||||
|
@ -38,7 +39,7 @@ do_configure() {
|
||||||
_headers="--with-headers=/usr/include"
|
_headers="--with-headers=/usr/include"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
../configure ${CONFIGURE_SHARED_ARGS} \
|
../configure ${configure_args} \
|
||||||
--bindir=/usr/bin --sbindir=/usr/sbin \
|
--bindir=/usr/bin --sbindir=/usr/sbin \
|
||||||
--enable-add-ons=ports,nptl,libidn --enable-obsolete-rpc \
|
--enable-add-ons=ports,nptl,libidn --enable-obsolete-rpc \
|
||||||
--enable-multi-arch --enable-bind-now \
|
--enable-multi-arch --enable-bind-now \
|
||||||
|
@ -49,7 +50,8 @@ do_configure() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
cd build && make ${makejobs}
|
cd build
|
||||||
|
make ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
@ -57,7 +59,7 @@ do_install() {
|
||||||
mkdir -p ${DESTDIR}/etc
|
mkdir -p ${DESTDIR}/etc
|
||||||
echo "include /etc/ld.so.conf.d/*.conf" > ${DESTDIR}/etc/ld.so.conf
|
echo "include /etc/ld.so.conf.d/*.conf" > ${DESTDIR}/etc/ld.so.conf
|
||||||
|
|
||||||
cd ${wrksrc}/build
|
cd build
|
||||||
make install_root=${DESTDIR} install
|
make install_root=${DESTDIR} install
|
||||||
|
|
||||||
# create /etc/default/libc-locales
|
# create /etc/default/libc-locales
|
||||||
|
|
|
@ -26,7 +26,7 @@ do_configure() {
|
||||||
doc/Makefile.in \
|
doc/Makefile.in \
|
||||||
doc/Makefile.sub
|
doc/Makefile.sub
|
||||||
fi
|
fi
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} --without-x --disable-rpath
|
./configure ${configure_args} --without-x --disable-rpath
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'grub'
|
# Template file for 'grub'
|
||||||
pkgname=grub
|
pkgname=grub
|
||||||
version="2.00"
|
version="2.00"
|
||||||
revision=9
|
revision=10
|
||||||
short_desc="GRand Unified Bootloader 2"
|
short_desc="GRand Unified Bootloader 2"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
|
@ -13,35 +13,41 @@ makedepends="flex libusb-compat-devel ncurses-devel freetype-devel
|
||||||
liblzma-devel device-mapper-devel font-unifont-bdf fuse-devel"
|
liblzma-devel device-mapper-devel font-unifont-bdf fuse-devel"
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
local sharedargs="--enable-device-mapper --enable-cache-stats --enable-nls \
|
configure_args+=" --enable-device-mapper --enable-cache-stats --enable-nls
|
||||||
--enable-grub-mkfont --enable-grub-mount --disable-werror"
|
--enable-grub-mkfont --enable-grub-mount --disable-werror "
|
||||||
|
|
||||||
# fix unifont.bdf location so grub-mkfont can create *.pf2 files
|
# fix unifont.bdf location so grub-mkfont can create *.pf2 files
|
||||||
sed -i 's|/usr/share/fonts/unifont|/usr/share/fonts/misc|' configure
|
sed -i 's|/usr/share/fonts/unifont|/usr/share/fonts/misc|' configure
|
||||||
|
|
||||||
# build BIOS version
|
# build BIOS version
|
||||||
mkdir $wrksrc/bios_build && cd $wrksrc/bios_build
|
mkdir $wrksrc/bios_build
|
||||||
../configure ${CONFIGURE_SHARED_ARGS} --with-platform=pc $sharedargs
|
cd $wrksrc/bios_build
|
||||||
|
../configure ${configure_args} --with-platform=pc
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
||||||
mkdir $wrksrc/efi_build && cd $wrksrc/efi_build
|
mkdir $wrksrc/efi_build
|
||||||
../configure ${CONFIGURE_SHARED_ARGS} --with-platform=efi \
|
cd $wrksrc/efi_build
|
||||||
--target="x86_64" --disable-efiemu $sharedargs
|
../configure ${configure_args} --with-platform=efi \
|
||||||
|
--target="x86_64" --disable-efiemu
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
msg_normal "Building BIOS grub...\n"
|
msg_normal "Building BIOS grub...\n"
|
||||||
cd $wrksrc/bios_build && make ${makejobs}
|
cd $wrksrc/bios_build
|
||||||
|
make ${makejobs}
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
||||||
msg_normal "Building EFI grub...\n"
|
msg_normal "Building EFI grub...\n"
|
||||||
cd $wrksrc/efi_build && make ${makejobs}
|
cd $wrksrc/efi_build
|
||||||
|
make ${makejobs}
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
||||||
cd $wrksrc/efi_build && make DESTDIR=$DESTDIR/efi install
|
cd $wrksrc/efi_build
|
||||||
|
make DESTDIR=$DESTDIR/efi install
|
||||||
# Remove non-platform specific files
|
# Remove non-platform specific files
|
||||||
rm -rf ${DESTDIR}/efi/{boot,etc,usr/{share,bin,sbin}}
|
rm -rf ${DESTDIR}/efi/{boot,etc,usr/{share,bin,sbin}}
|
||||||
rm -f ${DESTDIR}/efi/usr/lib/grub/x86_64-efi/x86_64-*
|
rm -f ${DESTDIR}/efi/usr/lib/grub/x86_64-efi/x86_64-*
|
||||||
|
@ -49,7 +55,8 @@ do_install() {
|
||||||
mv ${DESTDIR}/efi/* ${DESTDIR}
|
mv ${DESTDIR}/efi/* ${DESTDIR}
|
||||||
rmdir ${DESTDIR}/efi
|
rmdir ${DESTDIR}/efi
|
||||||
fi
|
fi
|
||||||
cd $wrksrc/bios_build && make DESTDIR=$DESTDIR install
|
cd $wrksrc/bios_build
|
||||||
|
make DESTDIR=$DESTDIR install
|
||||||
|
|
||||||
# Required to compress info files.
|
# Required to compress info files.
|
||||||
vmkdir usr/share/info
|
vmkdir usr/share/info
|
||||||
|
@ -73,7 +80,7 @@ if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
||||||
grub-x86_64-efi_package() {
|
grub-x86_64-efi_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="grub>=$version dosfstools efibootmgr"
|
depends="grub>=$version dosfstools efibootmgr"
|
||||||
short_desc="${short_desc} -- x86_64 EFI support"
|
short_desc+=" - x86_64 EFI support"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/grub/x86_64-efi
|
vmove usr/lib/grub/x86_64-efi
|
||||||
}
|
}
|
||||||
|
@ -85,7 +92,6 @@ grub_package() {
|
||||||
conf_files="/etc/default/grub /etc/grub.d/40_custom"
|
conf_files="/etc/default/grub /etc/grub.d/40_custom"
|
||||||
depends="os-prober"
|
depends="os-prober"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove etc
|
vmove all
|
||||||
vmove usr
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,10 +20,10 @@ do_configure() {
|
||||||
mkdir build-0.10 build-1.0
|
mkdir build-0.10 build-1.0
|
||||||
|
|
||||||
cd ${wrksrc}/build-0.10
|
cd ${wrksrc}/build-0.10
|
||||||
../configure ${CONFIGURE_SHARED_ARGS} --disable-static --with-gstreamer-api=0.10
|
../configure ${configure_args} --disable-static --with-gstreamer-api=0.10
|
||||||
|
|
||||||
cd ${wrksrc}/build-1.0
|
cd ${wrksrc}/build-1.0
|
||||||
../configure ${CONFIGURE_SHARED_ARGS} --disable-static --with-gstreamer-api=1.0
|
../configure ${configure_args} --disable-static --with-gstreamer-api=1.0
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
|
|
@ -19,26 +19,30 @@ post_extract() {
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
cd ${wrksrc}/gtk2-build
|
cd ${wrksrc}/gtk2-build
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} --with-python \
|
./configure ${configure_args} --with-python --disable-static --with-gtk=2.0
|
||||||
--disable-static --with-gtk=2.0
|
|
||||||
|
|
||||||
cd ${wrksrc}/gtk3-build
|
cd ${wrksrc}/gtk3-build
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} --with-python \
|
./configure ${configure_args} --with-python --disable-static --with-gtk=3.0
|
||||||
--disable-static --with-gtk=3.0
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
cd ${wrksrc}/gtk2-build && make ${makejobs}
|
cd ${wrksrc}/gtk2-build
|
||||||
cd ${wrksrc}/gtk3-build && make ${makejobs}
|
make ${makejobs}
|
||||||
|
|
||||||
|
cd ${wrksrc}/gtk3-build
|
||||||
|
make ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
cd ${wrksrc}/gtk2-build && make DESTDIR=${DESTDIR} install
|
cd ${wrksrc}/gtk2-build
|
||||||
cd ${wrksrc}/gtk3-build && make DESTDIR=${DESTDIR} install
|
make DESTDIR=${DESTDIR} install
|
||||||
|
|
||||||
|
cd ${wrksrc}/gtk3-build
|
||||||
|
make DESTDIR=${DESTDIR} install
|
||||||
}
|
}
|
||||||
|
|
||||||
gtk2-vnc_package() {
|
gtk2-vnc_package() {
|
||||||
short_desc="${short_desc} - GTK+2 port"
|
short_desc+=" - GTK+2 port"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "usr/lib/libgtk-vnc-1.0.so*"
|
vmove "usr/lib/libgtk-vnc-1.0.so*"
|
||||||
vmove usr/lib/girepository-1.0/GtkVnc-1.0.typelib
|
vmove usr/lib/girepository-1.0/GtkVnc-1.0.typelib
|
||||||
|
@ -47,7 +51,7 @@ gtk2-vnc_package() {
|
||||||
|
|
||||||
gtk2-vnc-devel_package() {
|
gtk2-vnc-devel_package() {
|
||||||
depends="gtk+-devel gtk-vnc-devel>=${version}"
|
depends="gtk+-devel gtk-vnc-devel>=${version}"
|
||||||
short_desc="${short_desc} - GTK+2 development files"
|
short_desc+=" - GTK+2 development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include/gtk-vnc-1.0
|
vmove usr/include/gtk-vnc-1.0
|
||||||
#vmove usr/share/vala/vapi/gtk-vnc-1.0.vapi
|
#vmove usr/share/vala/vapi/gtk-vnc-1.0.vapi
|
||||||
|
@ -57,7 +61,7 @@ gtk2-vnc-devel_package() {
|
||||||
}
|
}
|
||||||
|
|
||||||
gtk2-vnc-python_package() {
|
gtk2-vnc-python_package() {
|
||||||
short_desc="${short_desc} - python bindings"
|
short_desc+=" - python bindings"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python2.7
|
vmove usr/lib/python2.7
|
||||||
}
|
}
|
||||||
|
@ -65,7 +69,7 @@ gtk2-vnc-python_package() {
|
||||||
|
|
||||||
gtk-vnc-devel_package() {
|
gtk-vnc-devel_package() {
|
||||||
depends="glib-devel gtk+3-devel gtk-vnc>=${version}"
|
depends="glib-devel gtk+3-devel gtk-vnc>=${version}"
|
||||||
short_desc="${short_desc} - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include/gvnc-1.0
|
vmove usr/include/gvnc-1.0
|
||||||
vmove usr/include/gtk-vnc-2.0
|
vmove usr/include/gtk-vnc-2.0
|
||||||
|
|
|
@ -21,12 +21,11 @@ do_configure() {
|
||||||
local i
|
local i
|
||||||
for i in ppd/hpijs/*.ppd.gz ; do
|
for i in ppd/hpijs/*.ppd.gz ; do
|
||||||
rm -f ${i}.temp
|
rm -f ${i}.temp
|
||||||
gunzip -c ${i} | sed 's/foomatic-rip-hplip/foomatic-rip/g' | \
|
gunzip -c ${i} | sed 's/foomatic-rip-hplip/foomatic-rip/g' | gzip > ${i}.temp
|
||||||
gzip > ${i}.temp || return 1
|
|
||||||
mv ${i}.temp ${i}
|
mv ${i}.temp ${i}
|
||||||
done
|
done
|
||||||
|
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} --disable-gui-build \
|
./configure ${configure_args} --disable-gui-build \
|
||||||
--disable-foomatic-rip-hplip-install \
|
--disable-foomatic-rip-hplip-install \
|
||||||
--enable-foomatic-ppd-install \
|
--enable-foomatic-ppd-install \
|
||||||
--enable-hpcups-install \
|
--enable-hpcups-install \
|
||||||
|
@ -55,7 +54,6 @@ hplip_package() {
|
||||||
depends="python foomatic-db foomatic-db-engine desktop-file-utils"
|
depends="python foomatic-db foomatic-db-engine desktop-file-utils"
|
||||||
conf_files="/etc/hp/hplip.conf"
|
conf_files="/etc/hp/hplip.conf"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove etc
|
vmove all
|
||||||
vmove usr
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,7 +30,7 @@ long_desc="
|
||||||
- Word, line and sentence breaks"
|
- Word, line and sentence breaks"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
if [ -n "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
# Configure and build for host.
|
# Configure and build for host.
|
||||||
mkdir host-build
|
mkdir host-build
|
||||||
cd host-build
|
cd host-build
|
||||||
|
@ -46,12 +46,10 @@ pre_configure() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
if [ -n "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} \
|
_cross_args="--with-cross-build=${wrksrc}/host-icu"
|
||||||
--with-cross-build=${wrksrc}/host-icu
|
fi
|
||||||
else
|
./configure ${configure_args} ${_cross_args}
|
||||||
./configure ${CONFIGURE_SHARED_ARGS}
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
@ -66,7 +64,7 @@ do_install() {
|
||||||
|
|
||||||
icu-devel_package() {
|
icu-devel_package() {
|
||||||
depends="libstdc++-devel icu>=$version"
|
depends="libstdc++-devel icu>=$version"
|
||||||
short_desc="${short_desc} - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/icu
|
vmove usr/lib/icu
|
||||||
|
@ -78,7 +76,7 @@ icu-devel_package() {
|
||||||
}
|
}
|
||||||
|
|
||||||
icu-libs_package() {
|
icu-libs_package() {
|
||||||
short_desc="${short_desc} -- shared libs"
|
short_desc+=" - shared libs"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "usr/lib/*.so*"
|
vmove "usr/lib/*.so*"
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,11 +17,8 @@ do_configure() {
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
make CC="$XBPS_CROSS_TRIPLET-gcc" \
|
make CC="$CC" RANLIB="$RANLIB" AR="$AR" LD="$LD" \
|
||||||
RANLIB="$XBPS_CROSS_TRIPLET-ranlib" \
|
DBM_INCLUDE="$XBPS_CROSS_BASE/usr/include" \
|
||||||
AR="$XBPS_CROSS_TRIPLET-ar" \
|
|
||||||
LD="$XBPS_CROSS_TRIPLET-ld" \
|
|
||||||
DBM_INCLUDE="$XBPS_CROSS_BASE/include" \
|
|
||||||
${makejobs}
|
${makejobs}
|
||||||
else
|
else
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
|
|
|
@ -13,14 +13,9 @@ distfiles="http://www.skbuff.net/iputils/${pkgname}-s${version}.tar.bz2"
|
||||||
checksum=450f549fc5b620c23c5929aa6d54b7ddfc7ee1cb1e8efdc5e8bb21d8d0c5319f
|
checksum=450f549fc5b620c23c5929aa6d54b7ddfc7ee1cb1e8efdc5e8bb21d8d0c5319f
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
make CC="$CC" LD="$LD" \
|
||||||
make CC="$XBPS_CROSS_TRIPLET-gcc" LD="$XBPS_CROSS_TRIPLET-ld" \
|
USE_GNUTLS=no CCOPTOPT="$CFLAGS" ${makejobs} \
|
||||||
USE_GNUTLS=no CCOPTOPT="$CFLAGS" ${makejobs} \
|
arping clockdiff ping ping6 rdisc tracepath tracepath6
|
||||||
arping clockdiff ping ping6 rdisc tracepath tracepath6
|
|
||||||
else
|
|
||||||
make USE_GNUTLS=no CCOPTOPT="${CFLAGS}" ${makejobs} \
|
|
||||||
arping clockdiff ping ping6 rdisc tracepath tracepath6
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
|
@ -17,11 +17,7 @@ if [ "$CROSS_BUILD" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
make CC="$CC" BUILD_CC=cc
|
||||||
make CC="$XBPS_CROSS_TRIPLET-gcc" BUILD_CC=gcc
|
|
||||||
else
|
|
||||||
make
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
@ -34,7 +30,7 @@ do_install() {
|
||||||
|
|
||||||
libcap-devel_package() {
|
libcap-devel_package() {
|
||||||
depends="libcap>=${version}"
|
depends="libcap>=${version}"
|
||||||
short_desc="${short_desc} -- development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/libcap.a
|
vmove usr/lib/libcap.a
|
||||||
|
@ -44,7 +40,7 @@ libcap-devel_package() {
|
||||||
|
|
||||||
libcap-pam_package() {
|
libcap-pam_package() {
|
||||||
conf_files="/etc/security/capability.conf"
|
conf_files="/etc/security/capability.conf"
|
||||||
short_desc="${short_desc} -- PAM module"
|
short_desc+=" - PAM module"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/security
|
vmove usr/lib/security
|
||||||
vmove etc
|
vmove etc
|
||||||
|
@ -52,7 +48,7 @@ libcap-pam_package() {
|
||||||
}
|
}
|
||||||
|
|
||||||
libcap-progs_package() {
|
libcap-progs_package() {
|
||||||
short_desc="${short_desc} -- utilities"
|
short_desc+=" - utilities"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/sbin
|
vmove usr/sbin
|
||||||
vmove usr/share
|
vmove usr/share
|
||||||
|
|
|
@ -10,7 +10,7 @@ license="GPL-2"
|
||||||
distfiles="https://github.com/Pulse-Eight/libcec/archive/libcec-${version}.tar.gz"
|
distfiles="https://github.com/Pulse-Eight/libcec/archive/libcec-${version}.tar.gz"
|
||||||
checksum=f61378798d900d496ed3a5ff7747b0bb35bdfec9b5c4168dcea38396e3569bf1
|
checksum=f61378798d900d496ed3a5ff7747b0bb35bdfec9b5c4168dcea38396e3569bf1
|
||||||
|
|
||||||
hostmakedepends="automake pkg-config"
|
hostmakedepends="automake pkg-config libtool"
|
||||||
makedepends="libudev-devel lockdev-devel"
|
makedepends="libudev-devel lockdev-devel"
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_MACHINE" = "armv6l" ]; then
|
if [ "$XBPS_TARGET_MACHINE" = "armv6l" ]; then
|
||||||
|
@ -22,23 +22,21 @@ pre_configure() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
local _rpiargs
|
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_MACHINE" = "armv6l" ]; then
|
if [ "$XBPS_TARGET_MACHINE" = "armv6l" ]; then
|
||||||
_rpiargs="--enable-rpi"
|
configure_args+=" --enable-rpi "
|
||||||
if [ "$XBPS_CROSS_BASE" ]; then
|
if [ "$XBPS_CROSS_BASE" ]; then
|
||||||
_rpiargs+=" --with-rpi-include-path=${XBPS_CROSS_BASE}/opt/vc/include"
|
configure_args+=" --with-rpi-include-path=${XBPS_CROSS_BASE}/opt/vc/include "
|
||||||
_rpiargs+=" --with-rpi-lib-path=${XBPS_CROSS_BASE}/opt/vc/lib"
|
configure_args+=" --with-rpi-lib-path=${XBPS_CROSS_BASE}/opt/vc/lib "
|
||||||
else
|
else
|
||||||
_rpiargs+=" --with-rpi-include-path=/opt/vc/include"
|
configure_args+=" --with-rpi-include-path=/opt/vc/include "
|
||||||
_rpiargs+=" --with-rpi-lib-path=/opt/vc/lib"
|
configure_args+=" --with-rpi-lib-path=/opt/vc/lib "
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} ${_rpiargs} LDFLAGS=
|
./configure ${configure_args} LDFLAGS=
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make ${makejobs}
|
make ${make_build_args}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
|
@ -15,7 +15,8 @@ long_desc="
|
||||||
and mmsh protocols."
|
and mmsh protocols."
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} CFLAGS="-fPIC -DPIC"
|
export CFLAGS="$CFLAGS -fPIC -DPIC"
|
||||||
|
./configure ${configure_args}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
@ -28,7 +29,7 @@ do_install() {
|
||||||
|
|
||||||
libmms-devel_package() {
|
libmms-devel_package() {
|
||||||
depends="libglib-devel libmms>=${version}"
|
depends="libglib-devel libmms>=${version}"
|
||||||
short_desc="${short_desc} - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'lockdev'
|
# Template file for 'lockdev'
|
||||||
pkgname=lockdev
|
pkgname=lockdev
|
||||||
version=1.0.3
|
version=1.0.3
|
||||||
revision=1
|
revision=2
|
||||||
short_desc="Run-time shared library for locking devices"
|
short_desc="Run-time shared library for locking devices"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://packages.qa.debian.org/l/lockdev.html"
|
homepage="http://packages.qa.debian.org/l/lockdev.html"
|
||||||
|
@ -13,8 +13,8 @@ long_desc="
|
||||||
_both_ FSSTND and SVr4 methods."
|
_both_ FSSTND and SVr4 methods."
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make CC="$CC" shared CFLAGS="${CFLAGS} -D_PATH_LOCK=\\\"/run/lock/lockdev\\\" -fPIC"
|
make ${make_build_args} shared CFLAGS="${CFLAGS} -D_PATH_LOCK=\\\"/run/lock/lockdev\\\" -fPIC"
|
||||||
make CC="$CC" static CFLAGS="${CFLAGS} -D_PATH_LOCK=\\\"/run/lock/lockdev\\\" -fPIC"
|
make ${make_build_args} static CFLAGS="${CFLAGS} -D_PATH_LOCK=\\\"/run/lock/lockdev\\\" -fPIC"
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
@ -27,7 +27,7 @@ do_install() {
|
||||||
|
|
||||||
lockdev-devel_package() {
|
lockdev-devel_package() {
|
||||||
depends="lockdev>=$version"
|
depends="lockdev>=$version"
|
||||||
short_desc="${short_desc} -- development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove "usr/lib/*.a"
|
vmove "usr/lib/*.a"
|
||||||
|
|
|
@ -25,7 +25,7 @@ pre_configure() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} --disable-static
|
./configure ${configure_args} --disable-static
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
|
|
@ -11,7 +11,7 @@ distfiles="http://www.nasm.us/pub/nasm/releasebuilds/${version}/nasm-${version}.
|
||||||
checksum=c056e2abc83816892e448f9e9e95a3d21e9e096f44341b9d4853f62a443bba82
|
checksum=c056e2abc83816892e448f9e9e95a3d21e9e096f44341b9d4853f62a443bba82
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
./configure ${CONFIGURE_SHARED_ARGS}
|
./configure ${configure_args}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
|
|
@ -30,16 +30,15 @@ do_configure() {
|
||||||
cp -f ${XBPS_CROSSPFDIR}/config.sub ${wrksrc}
|
cp -f ${XBPS_CROSSPFDIR}/config.sub ${wrksrc}
|
||||||
|
|
||||||
# widec build
|
# widec build
|
||||||
CFLAGS="$CFLAGS -fPIC" \
|
export CFLAGS="$CFLAGS -fPIC"
|
||||||
../configure ${CONFIGURE_SHARED_ARGS} \
|
../configure ${configure_args} \
|
||||||
--enable-widec --with-shared --without-debug \
|
--enable-widec --with-shared --without-debug \
|
||||||
--with-manpage-symlinks --without-ada --enable-ext-colors \
|
--with-manpage-symlinks --without-ada --enable-ext-colors \
|
||||||
--without-tests
|
--without-tests
|
||||||
|
|
||||||
cd ${wrksrc}/ncurses-build
|
cd ${wrksrc}/ncurses-build
|
||||||
# non-widec build
|
# non-widec build
|
||||||
CFLAGS="$CFLAGS -fPIC" \
|
../configure ${configure_args} --with-shared \
|
||||||
../configure ${CONFIGURE_SHARED_ARGS} --with-shared \
|
|
||||||
--without-debug --without-ada --without-tests
|
--without-debug --without-ada --without-tests
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ long_desc="
|
||||||
SNMP v1, SNMP v2c and SNMP v3 using both IPv4 and IPv6."
|
SNMP v1, SNMP v2c and SNMP v3 using both IPv4 and IPv6."
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} --enable-ucd-snmp-compatibility \
|
./configure ${configure_args} --enable-ucd-snmp-compatibility \
|
||||||
--enable-ipv6 --with-python-modules --with-default-snmp-version="3" \
|
--enable-ipv6 --with-python-modules --with-default-snmp-version="3" \
|
||||||
--with-sys-contact="root@localhost" --with-sys-location="Unknown" \
|
--with-sys-contact="root@localhost" --with-sys-location="Unknown" \
|
||||||
--with-logfile=/var/log/snmpd.log \
|
--with-logfile=/var/log/snmpd.log \
|
||||||
|
|
|
@ -16,20 +16,18 @@ makedepends="libblkid-devel libmount-devel libtirpc-devel
|
||||||
libblkid-devel sqlite-devel rpcbind"
|
libblkid-devel sqlite-devel rpcbind"
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
local _args
|
configure_args+=" --with-statduser=nobody --enable-gss --enable-nfsv4
|
||||||
|
|
||||||
_args="--with-statduser=nobody --enable-gss --enable-nfsv4
|
|
||||||
--with-statedir=/var/lib/nfs --enable-libmount-mount
|
--with-statedir=/var/lib/nfs --enable-libmount-mount
|
||||||
--with-gssglue --without-tcp-wrappers --enable-ipv6
|
--with-gssglue --without-tcp-wrappers --enable-ipv6
|
||||||
--sbindir=/usr/sbin"
|
--sbindir=/usr/sbin "
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} ${_args} \
|
./configure ${configure_args} \
|
||||||
--with-tirpcinclude=$XBPS_CROSS_BASE/usr/include/tirpc \
|
--with-tirpcinclude=$XBPS_CROSS_BASE/usr/include/tirpc \
|
||||||
--with-krb5=$XBPS_CROSS_BASE \
|
--with-krb5=$XBPS_CROSS_BASE \
|
||||||
CC_FOR_BUILD="$CC" CFLAGS_FOR_BUILD="$CFLAGS"
|
CC_FOR_BUILD="$CC" CFLAGS_FOR_BUILD="$CFLAGS"
|
||||||
else
|
else
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} ${_args}
|
./configure ${configure_args}
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,13 +13,17 @@ checksum=aea6dd337da8781847c75b3b5b876e4de9c58520e0d77310679a979fc6402fa7
|
||||||
long_desc="
|
long_desc="
|
||||||
tcpdump is a powerful command-line packet analyzer."
|
tcpdump is a powerful command-line packet analyzer."
|
||||||
|
|
||||||
do_configure() {
|
pre_configure() {
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
export EXTRA_INCLUDES="$(pcre-config --cflags)"
|
}
|
||||||
export EXTRA_LIBS="$(pcre-config --libs)"
|
|
||||||
|
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} --with-pcap-includes=/usr/include/pcap \
|
do_configure() {
|
||||||
--enable-ipv6 --enable-pcre
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
configure_args+=" --with-pcap-includes=$XBPS_CROSS_BASE/usr/include/pcap "
|
||||||
|
else
|
||||||
|
configure_args+=" --with-pcap-includes=/usr/include/pcap "
|
||||||
|
fi
|
||||||
|
./configure ${configure_args} --enable-ipv6 --enable-pcre EXTRA_LIBS="-lpcre"
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
|
|
@ -16,7 +16,7 @@ long_desc="
|
||||||
to take full advantage of Crypt::CBC when desired. Blowfish keys may be
|
to take full advantage of Crypt::CBC when desired. Blowfish keys may be
|
||||||
up to 448 bits (56 bytes) long."
|
up to 448 bits (56 bytes) long."
|
||||||
|
|
||||||
makedepends="perl"
|
hostmakedepends="perl"
|
||||||
|
|
||||||
perl-Crypt-Blowfish_package() {
|
perl-Crypt-Blowfish_package() {
|
||||||
depends="perl"
|
depends="perl"
|
||||||
|
|
|
@ -22,7 +22,7 @@ do_configure() {
|
||||||
echo ${version} > .tarball-version
|
echo ${version} > .tarball-version
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
|
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} --exec-prefix=/ \
|
./configure ${configure_args} --exec-prefix=/ \
|
||||||
--prefix=/usr --libdir=/usr/lib --disable-static \
|
--prefix=/usr --libdir=/usr/lib --disable-static \
|
||||||
ac_cv_func_malloc_0_nonnull=yes \
|
ac_cv_func_malloc_0_nonnull=yes \
|
||||||
ac_cv_func_realloc_0_nonnull=yes \
|
ac_cv_func_realloc_0_nonnull=yes \
|
||||||
|
|
|
@ -14,12 +14,16 @@ long_desc="
|
||||||
The Python cryptography toolkit is intended to provide a reliable and stable
|
The Python cryptography toolkit is intended to provide a reliable and stable
|
||||||
base for writing Python programs that require cryptographic functions."
|
base for writing Python programs that require cryptographic functions."
|
||||||
|
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
hostmakedepends="python"
|
||||||
|
fi
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
sed -e "s|'/usr/include/'|''|g" -i setup.py
|
sed -e "s|'/usr/include/'|''|g" -i setup.py
|
||||||
_args="ac_cv_func_malloc_0_nonnull=yes"
|
configure_args+=" ac_cv_func_malloc_0_nonnull=yes "
|
||||||
fi
|
fi
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} ${_args}
|
./configure ${configure_args}
|
||||||
}
|
}
|
||||||
|
|
||||||
pycrypto_package() {
|
pycrypto_package() {
|
||||||
|
|
|
@ -18,9 +18,9 @@ makedepends="libffi-devel readline-devel gdbm-devel openssl-devel
|
||||||
|
|
||||||
# Force posix semaphores by default; sem_open requires /dev/shm and
|
# Force posix semaphores by default; sem_open requires /dev/shm and
|
||||||
# it's not mounted in chroot.
|
# it's not mounted in chroot.
|
||||||
_confargs="--with-threads --enable-ipv6 --with-signal-module --enable-shared
|
configure_args+=" --with-threads --enable-ipv6 --with-signal-module --enable-shared
|
||||||
--with-system-ffi --enable-unicode=ucs4 --with-system-expat
|
--with-system-ffi --enable-unicode=ucs4 --with-system-expat
|
||||||
--with-wctype-functions ac_cv_posix_semaphores_enabled=yes"
|
--with-wctype-functions ac_cv_posix_semaphores_enabled=yes "
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
# cross build; have to build it in 2 stages: native and host.
|
# cross build; have to build it in 2 stages: native and host.
|
||||||
|
@ -37,8 +37,8 @@ if [ "$CROSS_BUILD" ]; then
|
||||||
sed -i "/SQLITE_OMIT_LOAD_EXTENSION/d" setup.py
|
sed -i "/SQLITE_OMIT_LOAD_EXTENSION/d" setup.py
|
||||||
CFLAGS="$CFLAGS -I$XBPS_CROSS_BASE/include" \
|
CFLAGS="$CFLAGS -I$XBPS_CROSS_BASE/include" \
|
||||||
LDFLAGS="$LDFLAGS -L$XBPS_CROSS_BASE/lib" \
|
LDFLAGS="$LDFLAGS -L$XBPS_CROSS_BASE/lib" \
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} CC="$CC" LD="$CC" \
|
./configure ${configure_args} CC="$CC" LD="$CC" \
|
||||||
${_confargs} ac_cv_buggy_getaddrinfo=no
|
ac_cv_buggy_getaddrinfo=no
|
||||||
}
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
make HOSTPYTHON=./hostpython HOSTPGEN=./Parser/hostpgen \
|
make HOSTPYTHON=./hostpython HOSTPGEN=./Parser/hostpgen \
|
||||||
|
@ -58,7 +58,7 @@ else
|
||||||
do_configure() {
|
do_configure() {
|
||||||
# Enable built-in SQLite3 module to load extensions (Arch fix FS#22122)
|
# Enable built-in SQLite3 module to load extensions (Arch fix FS#22122)
|
||||||
sed -i "/SQLITE_OMIT_LOAD_EXTENSION/d" setup.py
|
sed -i "/SQLITE_OMIT_LOAD_EXTENSION/d" setup.py
|
||||||
CC="gcc" LD="gcc" ./configure ${CONFIGURE_SHARED_ARGS} ${_confargs}
|
CC="gcc" LD="gcc" ./configure ${configure_args}
|
||||||
}
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
|
|
|
@ -30,7 +30,7 @@ do_configure() {
|
||||||
# it's not mounted in chroot.
|
# it's not mounted in chroot.
|
||||||
unset LD CC AR AS RANLIB
|
unset LD CC AR AS RANLIB
|
||||||
|
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} --with-threads --enable-ipv6 \
|
./configure ${configure_args} --with-threads --enable-ipv6 \
|
||||||
--with-signal-module --enable-shared --with-system-ffi \
|
--with-signal-module --enable-shared --with-system-ffi \
|
||||||
--enable-unicode=ucs4 --with-system-expat --with-computed-gotos \
|
--enable-unicode=ucs4 --with-system-expat --with-computed-gotos \
|
||||||
--with-system-expat --with-dbmliborder=gdbm:ndbm \
|
--with-system-expat --with-dbmliborder=gdbm:ndbm \
|
||||||
|
|
|
@ -10,8 +10,11 @@ license="GPL-2"
|
||||||
distfiles="${DEBIAN_SITE}/main/d/debianutils/debianutils_${version}.tar.gz"
|
distfiles="${DEBIAN_SITE}/main/d/debianutils/debianutils_${version}.tar.gz"
|
||||||
checksum=0062d774306a6acc34d3b855a5c4eeb845653b0cd34dbb5c13aa00b4ecb8af22
|
checksum=0062d774306a6acc34d3b855a5c4eeb845653b0cd34dbb5c13aa00b4ecb8af22
|
||||||
|
|
||||||
|
do_configure() {
|
||||||
|
./configure ${configure_args}
|
||||||
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
./configure ${CONFIGURE_SHARED_ARGS}
|
|
||||||
make ${makejobs} run-parts
|
make ${makejobs} run-parts
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ do_configure() {
|
||||||
cd ${wrksrc}/sqlite-autoconf-${_amalgamationver}
|
cd ${wrksrc}/sqlite-autoconf-${_amalgamationver}
|
||||||
cp -f ${XBPS_CROSSPFDIR}/config.sub .
|
cp -f ${XBPS_CROSSPFDIR}/config.sub .
|
||||||
|
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} --enable-threadsafe \
|
./configure ${configure_args} --enable-threadsafe \
|
||||||
--enable-readline --enable-dynamic-extensions
|
--enable-readline --enable-dynamic-extensions
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,13 +10,14 @@ distfiles="http://apache.rediris.es/subversion/subversion-${version}.tar.bz2"
|
||||||
checksum=f8454c585f99afed764232a5048d9b8bfd0a25a9ab8e339ea69fe1204c453ef4
|
checksum=f8454c585f99afed764232a5048d9b8bfd0a25a9ab8e339ea69fe1204c453ef4
|
||||||
|
|
||||||
# XXX enable kwallet when kdelibs is available.
|
# XXX enable kwallet when kdelibs is available.
|
||||||
makedepends="pkg-config db-devel>=5.3 perl>=5.16 python-devel swig apr-util-devel
|
hostmakedepends="pkg-config"
|
||||||
|
makedepends="db-devel>=5.3 perl>=5.16 python-devel swig apr-util-devel
|
||||||
libldap-devel gdbm-devel expat-devel apr-devel libuuid-devel
|
libldap-devel gdbm-devel expat-devel apr-devel libuuid-devel
|
||||||
sqlite-devel libsasl-devel dbus-devel libgnome-keyring-devel glib-devel
|
sqlite-devel libsasl-devel dbus-devel libgnome-keyring-devel glib-devel
|
||||||
neon-devel apache-devel ca-certificates"
|
neon-devel apache-devel ca-certificates"
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} \
|
./configure ${configure_args} \
|
||||||
--with-apxs --disable-javahl --disable-static \
|
--with-apxs --disable-javahl --disable-static \
|
||||||
--without-kwallet --with-gnome-keyring --with-editor=vim \
|
--without-kwallet --with-gnome-keyring --with-editor=vim \
|
||||||
--disable-mod-activation
|
--disable-mod-activation
|
||||||
|
|
|
@ -13,13 +13,13 @@ checksum=354422b9c4791685499123b2dfe01faa98b555c08906c010cb4449ddc75dcade
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
if [ "${XBPS_MACHINE}" = "x86_64" ]; then
|
if [ "${XBPS_MACHINE}" = "x86_64" ]; then
|
||||||
local args="--enable-64bits"
|
configure_args+=" --enable-64bits "
|
||||||
fi
|
fi
|
||||||
|
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} --enable-threads \
|
./configure ${configure_args} --enable-threads \
|
||||||
--without-tzdata --enable-man-symlinks \
|
--without-tzdata --enable-man-symlinks \
|
||||||
--disable-static --disable-rpath \
|
--disable-static --disable-rpath \
|
||||||
tcl_cv_strtod_unbroken=ok $args
|
tcl_cv_strtod_unbroken=ok
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
|
|
@ -11,21 +11,24 @@ homepage="http://www.gnu.org/software/texinfo/"
|
||||||
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
||||||
checksum=1303e91a1c752b69a32666a407e9fbdd6e936def4b09bc7de30f416301530d68
|
checksum=1303e91a1c752b69a32666a407e9fbdd6e936def4b09bc7de30f416301530d68
|
||||||
|
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
hostmakedepends="ncurses-devel"
|
||||||
|
fi
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
./configure ${CONFIGURE_SHARED_ARGS}
|
./configure ${configure_args}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
if [ -d tools ]; then
|
if [ -d tools ]; then
|
||||||
make ${makejobs} -C tools/gnulib/lib && \
|
make ${makejobs} -C tools/gnulib/lib
|
||||||
make ${makejobs} -C tools && make ${makejobs}
|
make ${makejobs} -C tools
|
||||||
else
|
fi
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make DESTDIR=${DESTDIR} install
|
make DESTDIR=${DESTDIR} install
|
||||||
|
|
||||||
rm -f ${DESTDIR}/usr/share/info/dir
|
rm -f ${DESTDIR}/usr/share/info/dir
|
||||||
# Compress manually info files.
|
# Compress manually info files.
|
||||||
|
|
|
@ -15,16 +15,16 @@ hostmakedepends="pkg-config"
|
||||||
makedepends="tcl-devel libXext-devel libX11-devel libXScrnSaver-devel libXft-devel"
|
makedepends="tcl-devel libXext-devel libX11-devel libXScrnSaver-devel libXft-devel"
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
if [ "${XBPS_MACHINE}" = "x86_64" ]; then
|
if [ "${XBPS_TARGET_MACHINE}" = "x86_64" ]; then
|
||||||
local args="--enable-64bits"
|
configure_args+=" --enable-64bits "
|
||||||
fi
|
fi
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
local args="--with-tcl=$XBPS_CROSS_BASE/usr/lib"
|
configure_args+=" --with-tcl=$XBPS_CROSS_BASE/usr/lib "
|
||||||
fi
|
fi
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} --enable-threads \
|
./configure ${configure_args} --enable-threads \
|
||||||
--without-tzdata --enable-man-symlinks \
|
--without-tzdata --enable-man-symlinks \
|
||||||
--disable-static --disable-rpath \
|
--disable-static --disable-rpath \
|
||||||
tk_cv_strtod_unbroken=ok $args
|
tk_cv_strtod_unbroken=ok
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
|
|
@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} \
|
./configure ${configure_args} \
|
||||||
--exec-prefix=/usr --libdir=/usr/lib \
|
--exec-prefix=/usr --libdir=/usr/lib \
|
||||||
--bindir=/usr/bin --sbindir=/usr/sbin \
|
--bindir=/usr/bin --sbindir=/usr/sbin \
|
||||||
--enable-libuuid --disable-makeinstall-chown \
|
--enable-libuuid --disable-makeinstall-chown \
|
||||||
|
|
|
@ -15,10 +15,6 @@ license="GPL-2"
|
||||||
nofetch=yes
|
nofetch=yes
|
||||||
noextract=yes
|
noextract=yes
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
|
||||||
makedepends="ncurses-devel acl-devel"
|
|
||||||
fi
|
|
||||||
|
|
||||||
do_fetch() {
|
do_fetch() {
|
||||||
local url="http://code.google.com/p/vim/"
|
local url="http://code.google.com/p/vim/"
|
||||||
hg clone -u v7-3-${_patchver} ${url} ${pkgname}-${version}
|
hg clone -u v7-3-${_patchver} ${url} ${pkgname}-${version}
|
||||||
|
@ -36,45 +32,40 @@ pre_configure() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
local sharedargs="--disable-perlinterp --disable-pythoninterp
|
configure_args+=" --disable-perlinterp --disable-pythoninterp
|
||||||
--disable-rubyinterp --disable-cscope --disable-workshop
|
--disable-rubyinterp --disable-cscope --disable-workshop
|
||||||
--disable-netbeans --disable-sniff --disable-gpm
|
--disable-netbeans --disable-sniff --disable-gpm
|
||||||
--disable-hangulinput --disable-xim --enable-multibyte
|
--disable-hangulinput --disable-xim --enable-multibyte
|
||||||
--with-tlib=ncursesw --with-ex-name=vim-ex
|
--with-tlib=ncursesw --with-ex-name=vim-ex
|
||||||
--with-view-name=vim-view"
|
--with-view-name=vim-view "
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
crossargs="vim_cv_toupper_broken=no vim_cv_terminfo=yes
|
configure_args+=" vim_cv_toupper_broken=no vim_cv_terminfo=yes
|
||||||
vim_cv_tty_group=world vim_cv_getcwd_broken=no
|
vim_cv_tty_group=world vim_cv_getcwd_broken=no
|
||||||
vim_cv_stat_ignores_slash=yes
|
vim_cv_stat_ignores_slash=yes
|
||||||
vim_cv_memmove_handles_overlap=yes"
|
vim_cv_memmove_handles_overlap=yes"
|
||||||
sharedargs="${sharedargs} ${crossargs}"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Normal version.
|
# Normal version.
|
||||||
cd $wrksrc
|
cd $wrksrc
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} ${sharedargs} \
|
./configure ${configure_args} --enable-gui=no --with-x=no
|
||||||
--enable-gui=no --with-x=no
|
|
||||||
|
|
||||||
[ "$CROSS_BUILD" ] && return 0
|
|
||||||
|
|
||||||
# X11 version.
|
# X11 version.
|
||||||
cd $wrksrc/vim-x11
|
cd $wrksrc/vim-x11
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} ${sharedargs} \
|
./configure ${configure_args} --enable-gui=no --with-x
|
||||||
--enable-gui=no --with-x
|
|
||||||
|
|
||||||
# GTK+ version.
|
# GTK+ version.
|
||||||
cd $wrksrc/gvim
|
cd $wrksrc/gvim
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} ${sharedargs} \
|
./configure ${configure_args} --enable-gui=gtk2 --with-x --with-vim-name=gvim
|
||||||
--enable-gui=gtk2 --with-x --with-vim-name=gvim
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
cd $wrksrc && make ${makejobs}
|
cd $wrksrc
|
||||||
[ "$CROSS_BUILD" ] && return 0
|
make ${makejobs}
|
||||||
|
|
||||||
for f in vim-x11 gvim; do
|
for f in vim-x11 gvim; do
|
||||||
cd $wrksrc/$f && make ${makejobs}
|
cd $wrksrc/$f
|
||||||
|
make ${makejobs}
|
||||||
done
|
done
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -82,7 +73,8 @@ do_build() {
|
||||||
do_install() {
|
do_install() {
|
||||||
make DESTDIR=$DESTDIR install
|
make DESTDIR=$DESTDIR install
|
||||||
# Create vim-ex symlink.
|
# Create vim-ex symlink.
|
||||||
cd ${DESTDIR}/usr/bin && ln -sf vim vim-ex
|
cd ${DESTDIR}/usr/bin
|
||||||
|
ln -sf vim vim-ex
|
||||||
rm -f ${DESTDIR}/usr/bin/{ex,view}
|
rm -f ${DESTDIR}/usr/bin/{ex,view}
|
||||||
|
|
||||||
find ${DESTDIR}/usr/share/man -type f -name evim.1 -delete
|
find ${DESTDIR}/usr/share/man -type f -name evim.1 -delete
|
||||||
|
|
|
@ -12,14 +12,7 @@ checksum=6fb80935fe208538131ce2c4178221bab1078a1656306bce8909c19887e2e5a1
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
sed -e "s|CFLAGS=|CFLAGS+=|g" -i Makefile
|
sed -e "s|CFLAGS=|CFLAGS+=|g" -i Makefile
|
||||||
|
make CC="$CC" LD="$LD" AR="$AR" RANLIB="$RANLIB" ${makejobs}
|
||||||
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
|
||||||
make CC="$XBPS_CROSS_TRIPLET-gcc" LD="$XBPS_CROSS_TRIPLET-ld" \
|
|
||||||
AR="$XBPS_CROSS_TRIPLET-ar" \
|
|
||||||
RANLIB="$XBPS_CROSS_TRIPLET-ranlib" ${makejobs}
|
|
||||||
else
|
|
||||||
make ${makejobs}
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
@ -30,7 +23,7 @@ do_install() {
|
||||||
|
|
||||||
wireless_tools-devel_package() {
|
wireless_tools-devel_package() {
|
||||||
depends="wireless_tools>=${version}"
|
depends="wireless_tools>=${version}"
|
||||||
short_desc="${short_desc} -- development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,12 +18,10 @@ do_build() {
|
||||||
cp -f ${FILESDIR}/config .config
|
cp -f ${FILESDIR}/config .config
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
export PKG_CONFIG_PATH="$XBPS_CROSS_BASE/usr/lib/pkgconfig"
|
|
||||||
export PKG_CONFIG_SYSROOT_DIR="$XBPS_CROSS_BASE"
|
|
||||||
export CFLAGS="-I$XBPS_CROSS_BASE/usr/include/libnl3 $CFLAGS"
|
export CFLAGS="-I$XBPS_CROSS_BASE/usr/include/libnl3 $CFLAGS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
make CC="$CC" LD="$LD" AR="$AR" RANLIB="$RANLIB" PREFIX=/usr ${makejobs}
|
make ${make_build_args} V=1 PREFIX=/usr
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
|
@ -30,7 +30,7 @@ do_configure() {
|
||||||
# fix lsb_release dependency
|
# fix lsb_release dependency
|
||||||
sed -i -e 's:/usr/bin/lsb_release -d:/bin/true:' xbmc/utils/SystemInfo.cpp
|
sed -i -e 's:/usr/bin/lsb_release -d:/bin/true:' xbmc/utils/SystemInfo.cpp
|
||||||
|
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} \
|
./configure ${configure_args} \
|
||||||
--disable-debug --enable-optimizations --enable-gl \
|
--disable-debug --enable-optimizations --enable-gl \
|
||||||
--enable-sdl --enable-vdpau --enable-vaapi --enable-joystick \
|
--enable-sdl --enable-vdpau --enable-vaapi --enable-joystick \
|
||||||
--enable-xrandr --enable-rsxs --enable-projectm --enable-x11 \
|
--enable-xrandr --enable-rsxs --enable-projectm --enable-x11 \
|
||||||
|
|
|
@ -12,8 +12,8 @@ checksum=adf4980177b5c890c1ca86b9c0e3e4d69a3f95bfc01746844280c2393cf4d6be
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
export DEBUG=-DNDEBUG
|
export DEBUG=-DNDEBUG
|
||||||
./configure ${CONFIGURE_SHARED_ARGS} \
|
configure_args+=" --enable-readline=yes --enable-blkid=yes --enable-lib64=no "
|
||||||
--enable-readline=yes --enable-blkid=yes --enable-lib64=no
|
./configure ${configure_args}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
|
Loading…
Reference in a new issue