wok-next diff glibc-dev/receipt @ rev 9

Toolchain : binutils, glibc, gcc, make
author Christophe Lincoln <pankso@slitaz.org>
date Fri Dec 14 21:14:40 2007 +0100 (2007-12-14)
parents
children 3e085751bf3a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/glibc-dev/receipt	Fri Dec 14 21:14:40 2007 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="glibc-dev"
     1.7 +VERSION="2.3.6"
     1.8 +CATEGORY="extra"
     1.9 +SHORT_DESC="The GNU C libraries devel files (Part of SliTaz toolchain)."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="glibc-base"
    1.12 +WANTED="glibc"
    1.13 +WEB_SITE="http://www.gnu.org/software/libc/"
    1.14 +SOURCES="glibc"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +#
    1.18 +# This package is part of the toolchain. We use list to mkdir and cp files.
    1.19 +#
    1.20 +genpkg_rules()
    1.21 +{
    1.22 +    # Copy all and then remove all files specified in stuff/base-files.list.
    1.23 +    # We get the files from glibc-base package.
    1.24 +    cp -a $_pkg/* $fs
    1.25 +    echo -n "Removing all base files..."
    1.26 +    for file in `cat stuff/base-files.list`
    1.27 +    do
    1.28 +    	rm -f ${fs}$file
    1.29 +    done
    1.30 +    rm -rf $fs/etc
    1.31 +    rm -rf $fs/usr/share/info
    1.32 +    status
    1.33 +}