wok-6.x diff partimage/receipt @ rev 8713
Fixed avidemux.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Feb 17 18:20:31 2011 +0000 (2011-02-17) |
parents | bebd24501055 |
children | 9acba05b00ce |
line diff
1.1 --- a/partimage/receipt Thu May 13 13:27:52 2010 +0200 1.2 +++ b/partimage/receipt Thu Feb 17 18:20:31 2011 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="partimage" 1.7 -VERSION="0.6.7" 1.8 +VERSION="0.6.9" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="Saves partitions in an image file." 1.11 MAINTAINER="erjo@slitaz.org" 1.12 @@ -9,19 +9,12 @@ 1.13 BUILD_DEPENDS="newt newt-dev slang-dev bzip2-dev openssl-dev" 1.14 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.15 WEB_SITE="http://www.partimage.org/Index.fr.html" 1.16 -WGET_URL="http://heanet.dl.sourceforge.net/sourceforge/partimage/$TARBALL" 1.17 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.18 1.19 # Rules to configure and make the package. 1.20 compile_rules() 1.21 -{ 1.22 - busybox patch -p0 -i stuff/partimage-0.6.7_gcc4.u 1.23 - 1.24 +{ 1.25 cd $src 1.26 - # fix build with openssl 1.0 1.27 - sed -i 's/= SSLv2_client_method/= (SSL_METHOD*) SSLv2_client_method/' \ 1.28 - src/client/netclient.cpp 1.29 - sed -i 's/= SSLv23_server_method/= (SSL_METHOD*) SSLv23_server_method/' \ 1.30 - src/server/netserver.cpp 1.31 ./configure --prefix=/usr \ 1.32 --sysconfdir=/etc \ 1.33 --infodir=/usr/share/info \ 1.34 @@ -38,7 +31,6 @@ 1.35 cp -a $_pkg/etc $fs/ 1.36 install -g root -o root -m 0600 stuff/etc/partimaged/partimaged.* $fs/etc/partimaged 1.37 install -g root -o root -m 0755 stuff/etc/init.d/partimaged $fs/etc/init.d 1.38 - strip -s $fs/usr/sbin/* 1.39 } 1.40 1.41 post_install() 1.42 @@ -62,11 +54,11 @@ 1.43 1.44 post_remove() 1.45 { 1.46 - deluser partimag 1.47 - delgroup partimag 1.48 + chroot $1/ deluser partimag 1.49 + chroot $1/ delgroup partimag 1.50 1.51 - if [ -f /etc/paritimaged ]; then 1.52 - rm -rf /etc/partimaged 1.53 + if [ -f $1/etc/paritimaged ]; then 1.54 + rm -rf $1/etc/partimaged 1.55 fi 1.56 } 1.57