wok view dpkg/receipt @ rev 25686
Use System category for pm-suspend entry
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Apr 06 12:03:22 2024 +0200 (7 months ago) |
parents | b78e79c31b1f |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="dpkg"
4 VERSION="1.17.27"
5 CATEGORY="misc"
6 SHORT_DESC="Debian package management system."
7 MAINTAINER="shann@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.debian.org/dpkg"
11 TARBALL="${PACKAGE}_$VERSION.tar.xz"
12 #WGET_URL="http://people.slitaz.org/~shann/packages/$PACKAGE/$TARBALL" # 1.16.12
13 WGET_URL="https://cloudfront.debian.net/debian-archive/debian/pool/main/d/dpkg/$TARBALL"
15 DEPENDS="bzlib liblzma zlib"
16 BUILD_DEPENDS="file liblzma-dev ncurses-dev perl"
18 CONFIG_FILES="/etc/logrotate.d/dpkg
19 /etc/cron.daily/dpkg
20 /etc/alternatives/README
21 /etc/dpkg/dpkg.cfg"
23 # What is the latest version available today?
24 current_version()
25 {
26 wget -O - ${WGET_URL%/*} 2>/dev/null | \
27 sed "/latest/d;/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 ./configure &&
34 make &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share
43 cp -a $install/usr/etc $fs
44 cp -a $install/usr/sbin $fs
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/share/dpkg $fs/usr/share
47 rm $fs/usr/share/dpkg/*.mk
48 }