wok rev 12168

minicom: system file added
author Dominique Corbex <domcox@slitaz.org>
date Thu Mar 22 20:31:39 2012 +0100 (2012-03-22)
parents 8a76b9c054d9
children c3d13a3de0a2
files minicom/receipt
line diff
     1.1 --- a/minicom/receipt	Tue Mar 20 20:59:03 2012 +0100
     1.2 +++ b/minicom/receipt	Thu Mar 22 20:31:39 2012 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="minicom"
     1.7 -VERSION="2.4"
     1.8 +VERSION="2.6"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="menu driven communications program"
    1.11  MAINTAINER="f.lombard@free.fr"
    1.12 @@ -16,8 +16,12 @@
    1.13  {
    1.14  	cd $src
    1.15  	sed -i 's/getline/get_line/' src/minicom.c
    1.16 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.17 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.18 +	./configure \
    1.19 +		--sysconfdir=/etc \
    1.20 +		--prefix=/usr \
    1.21 +		--infodir=/usr/share/info \
    1.22 +		--mandir=/usr/share/man \
    1.23 +		$CONFIGURE_ARGS &&
    1.24  	make &&
    1.25  	make DESTDIR=$PWD/_pkg install
    1.26  }
    1.27 @@ -29,3 +33,12 @@
    1.28  	cp -a $_pkg/usr/bin $fs/usr
    1.29  }
    1.30  
    1.31 +post_install()
    1.32 +{
    1.33 +	touch /etc/minirc.dfl
    1.34 +}
    1.35 +
    1.36 +pre_remove()
    1.37 +{
    1.38 +	[ -e /etc/minirc.dfl ] && rm -f /etc/minirc.dfl
    1.39 +}
    1.40 \ No newline at end of file