wok-next view glibc-dev/receipt @ rev 15679
lxc: add depend for linux-lxc
Add linux-lxc
Add linux-lxc
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Dec 20 20:12:42 2013 +0100 (2013-12-20) |
parents | 590cd40daccf |
children | 0c4f0fe6d476 |
line source
1 # SliTaz package receipt.
3 PACKAGE="glibc-dev"
4 VERSION="2.14.1"
5 CATEGORY="development"
6 SHORT_DESC="The GNU C libraries devel files (Part of SliTaz toolchain)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WANTED="glibc"
10 WEB_SITE="http://www.gnu.org/software/libc/"
12 DEPENDS="glibc-base"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 #
16 # This package is part of the toolchain. We use list to mkdir and cp files.
17 #
18 genpkg_rules()
19 {
20 # Mass copy and then remove all files specified in stuff/base-files.list.
21 # We get the files from glibc-base. Locale files are in: glibc-locale.
22 cp -a $install/* $fs
24 # Rm base files.
25 echo -n "Removing all base files..."
26 for file in `cat $WOK/glibc-base/taz/glibc-base-$VERSION/files.list`
27 do
28 rm -f ${fs}$file
29 done
30 rm -rf $fs/etc
31 rm -rf $fs/usr/share
32 status
34 # Rm locale.
35 echo -n "Removing all locale files..."
36 for file in `cat $WOK/glibc-locale/taz/glibc-locale-$VERSION/files.list`
37 do
38 rm -f ${fs}$file
39 done
40 rm -rf $fs/usr/lib/gconv
41 status
42 }