wok-current diff opencc/receipt @ rev 15603
Use install instead of _pkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 06 10:39:07 2013 +0000 (2013-12-06) |
parents | b4bb522836eb |
children | 8d64ce80ab95 |
line diff
1.1 --- a/opencc/receipt Tue Sep 20 12:34:12 2011 +0000 1.2 +++ b/opencc/receipt Fri Dec 06 10:39:07 2013 +0000 1.3 @@ -5,12 +5,14 @@ 1.4 CATEGORY="misc" 1.5 SHORT_DESC="Libraries for Simplified-Traditional Chinese Conversion" 1.6 MAINTAINER="liupeng <hipeng@yahoo.com>" 1.7 -DEPENDS="" 1.8 -BUILD_DEPENDS="cmake gettext" 1.9 +LICENSE="Apache" 1.10 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.11 WEB_SITE="http://code.google.com/p/opencc/" 1.12 WGET_URL="http://opencc.googlecode.com/files/$TARBALL" 1.13 1.14 +DEPENDS="" 1.15 +BUILD_DEPENDS="cmake gettext" 1.16 + 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 { 1.20 @@ -26,6 +28,6 @@ 1.21 genpkg_rules() 1.22 { 1.23 mkdir -p $fs/usr/lib/ $fs/usr/share/ 1.24 - cp -a $_pkg/usr/lib/lib*.so.* $fs/usr/lib/ 1.25 - cp -a $_pkg/usr/share/opencc/ $fs/usr/share/ 1.26 + cp -a $install/usr/lib/lib*.so.* $fs/usr/lib/ 1.27 + cp -a $install/usr/share/opencc/ $fs/usr/share/ 1.28 }