wok-next view mysql-dev/receipt @ rev 2334
squidguard: relocate configfile, add post_remove function, restart squid after install/remove package.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Mar 01 08:53:15 2009 +0100 (2009-03-01) |
parents | |
children | 8032bcdd3044 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mysql-dev"
4 VERSION="5.0.51b"
5 CATEGORY="development"
6 SHORT_DESC="SQL database system devel files."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://www.mysql.com/"
9 WANTED="mysql"
11 # Rules to gen a SliTaz package suitable for Tazpkg.
12 genpkg_rules()
13 {
14 mkdir -p $fs/usr/lib
15 cp -a $_pkg/usr/include $fs/usr
16 cp -a $_pkg/usr/lib/mysql/*a $fs/usr/lib
17 while read file; do
18 dir=$(dirname $file)
19 [ -d $fs$dir ] || mkdir -p $fs$dir
20 cp -a $_pkg$file $fs$file
21 done < $src/$PACKAGE.files-list
22 }