libcap-ng libxml2 use flag defaults

This commit is contained in:
aliriza committed 2023-02-07 11:50:11 +00:00
1 parent 3e82d33978
commit 3c9f8ec129
2 files changed
+10 -9

No files matched your search

+5 -4
View File
@@ -11,8 +11,8 @@ source=("https://gitlab.gnome.org/GNOME/libxml2/-/archive/v2.10.3/libxml2-v${ver
depends=(zlib xz-utils) depends=(zlib xz-utils)
makedepends=() makedepends=()
md5sums=('4a8bc66943dd13f7ff2ee8816b808969') md5sums=('4a8bc66943dd13f7ff2ee8816b808969')
uses=() uses=(python)
uses_extra=(python) uses_extra=()
python_depends=(python) python_depends=(python)
arch=('x86_64') arch=('x86_64')
group=(dev.libs) group=(dev.libs)
@@ -20,8 +20,7 @@ group=(dev.libs)
cd $name-v$version cd $name-v$version
setup(){ setup(){
set -ex autoreconf -fvi
./autogen.sh
./configure --prefix=/usr \ ./configure --prefix=/usr \
--with-history \ --with-history \
--libdir=/usr/lib64 \ --libdir=/usr/lib64 \
@@ -38,5 +37,7 @@ package(){
mv ${DESTDIR}/usr/lib/* ${DESTDIR}/usr/lib64/ mv ${DESTDIR}/usr/lib/* ${DESTDIR}/usr/lib64/
rmdir ${DESTDIR}/usr/lib/ rmdir ${DESTDIR}/usr/lib/
fi fi
mkdir -p ${DESTDIR}/usr/lib64/python3/
mv ${DESTDIR}/usr/lib64/python*/site-packages/* ${DESTDIR}/usr/lib64/python3/
} }
+5 -5
View File
@@ -8,19 +8,19 @@ email='parduscix@yandex.ru'
maintainer='sulincix' maintainer='sulincix'
license=('LGPL2.1') license=('LGPL2.1')
source=("https://github.com/stevegrubb/libcap-ng/archive/refs/tags/v${version}.zip") source=("https://github.com/stevegrubb/libcap-ng/archive/refs/tags/v${version}.zip")
depends=( ) depends=()
makedepends=( ) makedepends=()
md5sums=('4332df17c41730e487ed3a45af958e7a') md5sums=('4332df17c41730e487ed3a45af958e7a')
group=(sys.libs) group=(sys.libs)
uses=() uses=(python)
uses_extra=(python) uses_extra=()
python_depends=(python) python_depends=(python)
arch=('x86_64') arch=('x86_64')
cd $name-$version cd $name-$version
setup(){ setup(){
./autogen.sh autoreconf -fvi
./configure --prefix=/usr \ ./configure --prefix=/usr \
--libdir=/usr/lib64 \ --libdir=/usr/lib64 \
$(use_opt python --with-python --without-python) \ $(use_opt python --with-python --without-python) \