wok-6.x annotate scanssh/receipt @ rev 9510
Fixed glib. Need to have --sysconfdir=/etc or /etc ends up in /usr folder.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Apr 06 08:10:27 2011 +0000 (2011-04-06) |
parents | d53046115547 |
children | 164fcaca1cd0 |
rev | line source |
---|---|
erjo@3616 | 1 # SliTaz package receipt. |
erjo@3616 | 2 |
erjo@3616 | 3 PACKAGE="scanssh" |
slaxemulator@6608 | 4 VERSION="2.1" |
erjo@3616 | 5 CATEGORY="network" |
erjo@3616 | 6 SHORT_DESC="Search for SSH server" |
erjo@3616 | 7 MAINTAINER="erjo@slitaz.org" |
slaxemulator@6608 | 8 DEPENDS="libpcap libdnet libevent" |
slaxemulator@7168 | 9 BUILD_DEPENDS="libpcap-dev libdnet-dev libevent libevent-dev autoconf" |
erjo@3616 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6608 | 11 WEB_SITE="http://www.monkey.org/~provos/scanssh/" |
slaxemulator@6608 | 12 WGET_URL="http://www.monkey.org/~provos/$TARBALL" |
erjo@3616 | 13 |
erjo@3616 | 14 # Rules to configure and make the package. |
erjo@3616 | 15 compile_rules() |
erjo@3616 | 16 { |
erjo@3616 | 17 cd $src |
erjo@3616 | 18 ./configure \ |
erjo@3616 | 19 --prefix=/usr \ |
erjo@3616 | 20 $CONFIGURE_ARGS && |
erjo@3616 | 21 make |
erjo@3616 | 22 } |
erjo@3616 | 23 |
erjo@3616 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@3616 | 25 genpkg_rules() |
erjo@3616 | 26 { |
erjo@3616 | 27 mkdir -p $fs/usr/bin |
erjo@3616 | 28 cp -a $src/scanssh $fs/usr/bin |
erjo@3616 | 29 } |
erjo@3616 | 30 |