|
|
@ -8,11 +8,11 @@ hostmakedepends="automake gettext-devel libtool nss-devel pkg-config
|
|
|
|
python-setuptools"
|
|
|
|
python-setuptools"
|
|
|
|
makedepends="binutils-devel db-devel elfutils-devel file-devel libarchive-devel
|
|
|
|
makedepends="binutils-devel db-devel elfutils-devel file-devel libarchive-devel
|
|
|
|
libcap-devel lua52-devel nss-devel popt-devel python-devel"
|
|
|
|
libcap-devel lua52-devel nss-devel popt-devel python-devel"
|
|
|
|
checkdepends="${makedepends}"
|
|
|
|
|
|
|
|
short_desc="Red Hat Package Management Utils"
|
|
|
|
short_desc="Red Hat Package Management Utils"
|
|
|
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
|
|
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
|
|
|
license="GPL-2.0-or-later"
|
|
|
|
license="GPL-2.0-or-later"
|
|
|
|
homepage="http://rpm.org"
|
|
|
|
homepage="http://rpm.org"
|
|
|
|
|
|
|
|
changelog="http://rpm.org/wiki/Releases/${version}.html"
|
|
|
|
distfiles="http://ftp.rpm.org/releases/rpm-${version%.*}.x/rpm-${version}.tar.bz2"
|
|
|
|
distfiles="http://ftp.rpm.org/releases/rpm-${version%.*}.x/rpm-${version}.tar.bz2"
|
|
|
|
checksum=43f40e2ccc3ca65bd3238f8c9f8399d4957be0878c2e83cba2746d2d0d96793b
|
|
|
|
checksum=43f40e2ccc3ca65bd3238f8c9f8399d4957be0878c2e83cba2746d2d0d96793b
|
|
|
|
conflicts="rpmextract>=0" # Both provide rpm2cpio
|
|
|
|
conflicts="rpmextract>=0" # Both provide rpm2cpio
|
|
|
@ -24,7 +24,7 @@ CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/nspr"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
# Musl requires gettext to be included and it's cflag added otherwise
|
|
|
|
# Musl requires gettext to be included and it's cflag added otherwise
|
|
|
|
# it fails with _nl_msg_cat_cntr undefined reference error
|
|
|
|
# it fails with _nl_msg_cat_cntr undefined reference error
|
|
|
|
*-musl*)
|
|
|
|
*-musl)
|
|
|
|
makedepends+=" gettext-devel"
|
|
|
|
makedepends+=" gettext-devel"
|
|
|
|
LDFLAGS+=" -lintl"
|
|
|
|
LDFLAGS+=" -lintl"
|
|
|
|
;;
|
|
|
|
;;
|
|
|
@ -34,8 +34,10 @@ pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
rpm-devel_package() {
|
|
|
|
librpm-devel_package() {
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
depends="librpm-${version}_${revision} librpmbuild-${version}_${revision}
|
|
|
|
|
|
|
|
librpmsign-${version}_${revision} librpmio-${version}_${revision} db-devel
|
|
|
|
|
|
|
|
popt-devel liblzma-devel zlib-devel bzip2-devel nss-devel lua52-devel"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${makedepends}"
|
|
|
|
depends="${makedepends}"
|
|
|
|
pkg_install() {
|
|
|
|
pkg_install() {
|
|
|
@ -46,11 +48,37 @@ rpm-devel_package() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
rpm-python_package() {
|
|
|
|
rpm-python_package() {
|
|
|
|
short_desc+=" - python bindings"
|
|
|
|
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
|
|
|
|
noarch=yes
|
|
|
|
|
|
|
|
pycompile_module="rpm"
|
|
|
|
pycompile_module="rpm"
|
|
|
|
|
|
|
|
short_desc+=" - python bindings"
|
|
|
|
pkg_install() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python2*
|
|
|
|
vmove usr/lib/python2*
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
librpm_package() {
|
|
|
|
|
|
|
|
short_desc+=" - rpm library"
|
|
|
|
|
|
|
|
pkg_install() {
|
|
|
|
|
|
|
|
vmove "usr/lib/librpm.so.*"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
librpmbuild_package() {
|
|
|
|
|
|
|
|
short_desc+=" - rpmbuild library"
|
|
|
|
|
|
|
|
pkg_install() {
|
|
|
|
|
|
|
|
vmove "usr/lib/librpmbuild.so.*"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
librpmsign_package() {
|
|
|
|
|
|
|
|
short_desc+=" - rpmsign library"
|
|
|
|
|
|
|
|
pkg_install() {
|
|
|
|
|
|
|
|
vmove "usr/lib/librpmsign.so.*"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
librpmio_package() {
|
|
|
|
|
|
|
|
short_desc+=" - rpmio library"
|
|
|
|
|
|
|
|
pkg_install() {
|
|
|
|
|
|
|
|
vmove "usr/lib/librpmio.so.*"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|