wok-6.x annotate mysql-dev/receipt @ rev 9358
Up ffmpeg-svn (26402)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 20 12:47:30 2011 +0100 (2011-03-20) |
parents | 95eec20a639c |
children | d1768332cee0 |
rev | line source |
---|---|
pascal@1140 | 1 # SliTaz package receipt. |
pascal@1140 | 2 |
pascal@1140 | 3 PACKAGE="mysql-dev" |
slaxemulator@7658 | 4 VERSION="5.1.54" |
pascal@1140 | 5 CATEGORY="development" |
pascal@1140 | 6 SHORT_DESC="SQL database system devel files." |
pascal@1140 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2611 | 8 DEPENDS="zlib" |
pascal@1140 | 9 WEB_SITE="http://www.mysql.com/" |
pascal@1140 | 10 WANTED="mysql" |
pascal@1140 | 11 |
pascal@1140 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1140 | 13 genpkg_rules() |
pascal@1140 | 14 { |
slaxemulator@7560 | 15 mkdir -p $fs/usr/lib/mysql/plugin $fs/usr/share |
pascal@1140 | 16 cp -a $_pkg/usr/include $fs/usr |
slaxemulator@7560 | 17 cp -a $_pkg/usr/share/aclocal $fs/usr/share |
pankso@3359 | 18 cp -a $_pkg/usr/lib/mysql/*.*a $fs/usr/lib/mysql |
pankso@3359 | 19 cp -a $_pkg/usr/lib/mysql/plugin/*.*a $fs/usr/lib/mysql/plugin |
pascal@1140 | 20 while read file; do |
pascal@1140 | 21 dir=$(dirname $file) |
pascal@1140 | 22 [ -d $fs$dir ] || mkdir -p $fs$dir |
pascal@1140 | 23 cp -a $_pkg$file $fs$file |
pankso@3359 | 24 done < $WOK/$WANTED/stuff/$PACKAGE.files-list |
pascal@1140 | 25 } |