wok-next annotate glibc-dev/receipt @ rev 10330

fftw: Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun May 22 01:04:25 2011 +0000 (2011-05-22)
parents 52057bfe161b
children 590cd40daccf
rev   line source
pankso@9 1 # SliTaz package receipt.
pankso@9 2
pankso@9 3 PACKAGE="glibc-dev"
gokhlayeh@8749 4 VERSION="2.13"
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"
gokhlayeh@8186 8 DEPENDS="glibc-base"
pankso@9 9 WANTED="glibc"
pankso@9 10 WEB_SITE="http://www.gnu.org/software/libc/"
pankso@9 11
pankso@9 12 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@9 13 #
pankso@9 14 # This package is part of the toolchain. We use list to mkdir and cp files.
pankso@9 15 #
pankso@9 16 genpkg_rules()
pankso@9 17 {
pankso@528 18 # Mass copy and then remove all files specified in stuff/base-files.list.
pankso@528 19 # We get the files from glibc-base. Locale files are in: glibc-locale.
pankso@9 20 cp -a $_pkg/* $fs
pankso@528 21
pankso@528 22 # Rm base files.
pankso@9 23 echo -n "Removing all base files..."
pankso@528 24 for file in `cat $WOK/glibc-base/taz/glibc-base-$VERSION/files.list`
pankso@9 25 do
pankso@9 26 rm -f ${fs}$file
pankso@9 27 done
pankso@9 28 rm -rf $fs/etc
pankso@528 29 rm -rf $fs/usr/share
pankso@528 30 status
pankso@528 31
pankso@528 32 # Rm locale.
pankso@528 33 echo -n "Removing all locale files..."
pankso@528 34 for file in `cat $WOK/glibc-locale/taz/glibc-locale-$VERSION/files.list`
pankso@528 35 do
pankso@528 36 rm -f ${fs}$file
pankso@528 37 done
pankso@528 38 rm -rf $fs/usr/lib/gconv
pankso@9 39 status
pankso@9 40 }