wok-stable view dpkg/receipt @ rev 12421

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