wok-next diff mysql-dev/receipt @ rev 2300

Up: bash (4.0)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Feb 23 13:44:27 2009 +0100 (2009-02-23)
parents
children 8032bcdd3044
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mysql-dev/receipt	Mon Feb 23 13:44:27 2009 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="mysql-dev"
     1.7 +VERSION="5.0.51b"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="SQL database system devel files."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +WEB_SITE="http://www.mysql.com/"
    1.12 +WANTED="mysql"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	mkdir -p $fs/usr/lib
    1.18 +	cp -a $_pkg/usr/include $fs/usr
    1.19 +	cp -a $_pkg/usr/lib/mysql/*a $fs/usr/lib
    1.20 +	while read file; do
    1.21 +		dir=$(dirname $file)
    1.22 +		[ -d $fs$dir ] || mkdir -p $fs$dir
    1.23 +		cp -a $_pkg$file $fs$file
    1.24 +	done < $src/$PACKAGE.files-list
    1.25 +}