wok-6.x view dpkg/receipt @ rev 24403
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 08 18:20:23 2022 +0000 (2022-02-08) |
parents | f50df67fd4a4 |
children | b78e79c31b1f |
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="http://deb.debian.org/debian/pool/main/d/$PACKAGE/$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 compile_rules()
24 {
25 ./configure &&
26 make &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
35 cp -a $install/usr/etc $fs
36 cp -a $install/usr/sbin $fs
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/dpkg $fs/usr/share
39 rm $fs/usr/share/dpkg/*.mk
40 }