wok-next view rpm/receipt @ rev 21597
updated dosbox (0.74-2 -> 0.74.3)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 14:18:09 2020 +0100 (2020-06-24) |
parents | 82b613cfd1e0 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="rpm"
4 VERSION="4.14.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="RPM Package Manager"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://rpm.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://ftp.rpm.org/releases/rpm-${VERSION%.*}.x/$TARBALL"
13 # integrity check: http://rpm.org/download.html -> Release notes
14 TARBALL_SHA256="43f40e2ccc3ca65bd3238f8c9f8399d4957be0878c2e83cba2746d2d0d96793b"
16 BUILD_DEPENDS="p7zip-full gnupg zlib-dev bzip2-dev xz-dev zstd-dev \
17 elfutils-dev nss-dev nspr-dev libmagic-dev popt-dev libarchive-dev db-dev \
18 gettext-dev dbus-dev"
19 SPLIT="$PACKAGE-dev"
21 compile_rules() {
22 ./configure \
23 --without-lua \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 rpm)
33 copy @std
34 DEPENDS="libbzip2 dbus elfutils libarchive libdb liblzma libmagic nss \
35 popt python zlib zstd"
36 SUGGESTED="p7zip-full gnupg"
37 TAGS="package-manager"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="rpm bzip2-dev db-dev nss-dev popt-dev xz-dev zlib-dev \
42 zstd-dev"
43 ;;
44 esac
45 }
47 # Building rpm database.
48 post_install() {
49 chroot "$1/" rpm --initdb --quiet
50 }
52 pre_remove() {
53 if [ -d "$1/var/lib/rpm" ]; then
54 rm -f "$1"/var/lib/rpm/*
55 fi
56 }