wok-next annotate glibc-dev/receipt @ rev 19703
Up bird (1.6.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 26 12:29:37 2017 +0200 (2017-04-26) |
parents | 518204624cc3 |
children |
rev | line source |
---|---|
pankso@9 | 1 # SliTaz package receipt. |
pankso@9 | 2 |
pankso@9 | 3 PACKAGE="glibc-dev" |
al@19561 | 4 VERSION="2.24" |
pankso@199 | 5 CATEGORY="development" |
pankso@9 | 6 SHORT_DESC="The GNU C libraries devel files (Part of SliTaz toolchain)." |
pankso@9 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pankso@9 | 9 WEB_SITE="http://www.gnu.org/software/libc/" |
pankso@9 | 10 |
al@19561 | 11 WANTED="glibc" |
pascal@15000 | 12 DEPENDS="glibc-base" |
pascal@15000 | 13 |
pankso@9 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@9 | 15 # |
pankso@9 | 16 # This package is part of the toolchain. We use list to mkdir and cp files. |
pankso@9 | 17 # |
pankso@9 | 18 genpkg_rules() |
pankso@9 | 19 { |
al@19561 | 20 # Mass copy and then remove all files specified in stuff/base-files.list. |
al@19561 | 21 # We get the files from glibc-base. Locale files are in: glibc-locale. |
al@19561 | 22 cp -a $install/* $fs |
al@19561 | 23 |
al@19561 | 24 action "Removing all glibc-base files..." |
al@19561 | 25 for file in $(cat $WOK/glibc-base/taz/glibc-base-$VERSION/files.list); do |
al@19561 | 26 rm -f ${fs}$file |
al@19561 | 27 done |
al@19561 | 28 rm -rf $fs/etc |
al@19561 | 29 rm -rf $fs/usr/share |
al@19561 | 30 status |
al@19561 | 31 |
al@19561 | 32 action "Removing all glibc-locale files..." |
al@19561 | 33 for file in $(cat $WOK/glibc-locale/taz/glibc-locale-$VERSION/files.list); do |
al@19561 | 34 rm -f ${fs}$file |
al@19561 | 35 done |
al@19561 | 36 rm -rf $fs/usr/lib/gconv |
al@19561 | 37 status |
pankso@9 | 38 } |