wok view dpkg/receipt @ rev 24612

updated gnuplot (4.6.5 -> 5.4.3)
author Hans-G?nter Theisgen
date Sun Mar 06 16:11:56 2022 +0100 (2022-03-06)
parents 286a59d18f59
children 976aaa1af0d2
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 # 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 }