wok-current annotate dpkg/receipt @ rev 15692
dpkg: Fix missing mkdir command
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Dec 21 08:21:32 2013 +0100 (2013-12-21) |
parents | 04d3e0398a77 |
children | 557893108cf7 |
rev | line source |
---|---|
shann@15684 | 1 # SliTaz package receipt. |
shann@15684 | 2 |
shann@15684 | 3 PACKAGE="dpkg" |
shann@15684 | 4 VERSION="1.16.12" |
shann@15684 | 5 CATEGORY="misc" |
shann@15684 | 6 SHORT_DESC="Debian package management system" |
shann@15684 | 7 MAINTAINER="shann@slitaz.org" |
shann@15684 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
shann@15684 | 9 WEB_SITE="https://wiki.debian.org/dpkg" |
shann@15684 | 10 WGET_URL="http://people.slitaz.org/~shann/packages/$PACKAGE/$TARBALL" |
shann@15684 | 11 DEPENDS="bzlib liblzma zlib" |
shann@15684 | 12 |
shann@15684 | 13 CONFIG_FILES="/etc/logrotate.d/dpkg |
shann@15684 | 14 /etc/cron.daily/dpkg |
shann@15684 | 15 /etc/alternatives/README |
shann@15684 | 16 /etc/dpkg/dpkg.cfg" |
shann@15684 | 17 |
shann@15684 | 18 # Rules to gen a SliTaz package suitable for Tazpkg. |
shann@15684 | 19 genpkg_rules() |
shann@15684 | 20 { |
shann@15691 | 21 mkdir -p $fs/etc/alternatives $fs/etc/dpkg $fs/etc/cron.daily $fs/etc/logrotate.d |
shann@15692 | 22 mkdir -p $fs/usr/share $fs/usr/sbin $fs/usr/sbin $fs/sbin |
shann@15689 | 23 cp -a $src/etc/* $fs/etc |
shann@15689 | 24 cp -a $src/sbin/* $fs/sbin |
shann@15689 | 25 cp -a $src/usr/* $fs/usr |
shann@15684 | 26 chown -R root.root $fs |
shann@15684 | 27 } |