# HG changeset patch # User Pascal Bellard # Date 1235040992 0 # Node ID 181a5b592274bface2cbfca8961d912fa85a7028 # Parent c92b90a14744f26c4ec0d5ab2a08fae38e292e23 mysql: add build_depends diff -r c92b90a14744 -r 181a5b592274 mysql/receipt --- a/mysql/receipt Thu Feb 19 10:16:00 2009 +0000 +++ b/mysql/receipt Thu Feb 19 10:56:32 2009 +0000 @@ -9,6 +9,7 @@ WEB_SITE="http://www.mysql.com/" WGET_URL="http://mirrors.sunsite.dk/mysql/Downloads/MySQL-5.0/$TARBALL" DEPENDS="libmysqlclient mysql-client zlib slitaz-base-files" +BUILD_DEPENDS="busybox" CONFIG_FILES="/etc/my.cnf" # Rules to configure and make the package. @@ -55,16 +56,16 @@ # adduser mysql if needed if ! grep -q mysql $1/etc/passwd; then echo -n "Adding user mysql..." - chroot $1/ adduser mysql -s /bin/false -H -D -S + chroot $1/ /bin/adduser mysql -s /bin/false -H -D -S status fi # addgroup mysql if needed if ! grep -q mysql $1/etc/group; then echo -n "Adding group mysql..." - chroot $1/ addgroup mysql && addgroup mysql mysql + chroot $1/ /bin/addgroup mysql && /bin/addgroup mysql mysql status fi - chroot $1/ chown mysql.mysql $(cat $1/$INSTALLED/$PACKAGE/files.list) + chroot $1/ /bin/chown mysql.mysql $(cat $1/$INSTALLED/$PACKAGE/files.list) cat <