wok-next rev 10870

freeciv: Fixed genpkg_rules to only copy whats needed. This takes 2.5mb off the package size.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jun 19 11:43:52 2011 +0000 (2011-06-19)
parents f1bd3950a6c3
children 8c7a018a1fb5
files freeciv/receipt
line diff
     1.1 --- a/freeciv/receipt	Sun Jun 19 11:40:55 2011 +0000
     1.2 +++ b/freeciv/receipt	Sun Jun 19 11:43:52 2011 +0000
     1.3 @@ -26,6 +26,11 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	cp -a $_pkg/usr $fs
     1.8 +	mkdir -p $fs/usr/share $fs/usr/lib
     1.9 +	cp -a $install/usr/bin $fs/usr
    1.10 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.11 +	cp -a $install/usr/share/freeciv $fs/usr/share
    1.12 +	# Add icons for desktop files
    1.13 +	cp -a $install/usr/share/icons/hicolor/32x32/apps $fs/usr/share/pixmaps
    1.14  }
    1.15