wok-next annotate proftpd/receipt @ rev 15058
cocoalib: create Makefile_dependencies
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 10:39:24 2013 +0000 (2013-08-13) |
parents | 0d095d0c9b59 |
children | 70fb5fbb6fde |
rev | line source |
---|---|
pascal@14768 | 1 # SliTaz package receipt. |
pascal@14768 | 2 |
pascal@14768 | 3 PACKAGE="proftpd" |
pascal@14768 | 4 VERSION="1.3.4d" |
pascal@14768 | 5 CATEGORY="network" |
pascal@14768 | 6 SHORT_DESC="Highly configurable FTP server." |
pascal@14768 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
pascal@14768 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@14768 | 10 WEB_SITE="http://www.proftpd.org/" |
pascal@14768 | 11 WGET_URL="ftp://ftp.proftpd.org/distrib/source/$TARBALL" |
pascal@14768 | 12 |
pascal@14768 | 13 DEPENDS="" |
pascal@14768 | 14 BUILD_DEPENDS="" |
pascal@14768 | 15 |
pascal@14768 | 16 # Rules to configure and make the package. |
pascal@14768 | 17 compile_rules() |
pascal@14768 | 18 { |
pascal@14768 | 19 cd $src |
pascal@14768 | 20 ./configure --prefix=/usr \ |
pascal@14768 | 21 --sysconfdir=/etc \ |
pascal@14768 | 22 --localstatedir=/var \ |
pascal@14768 | 23 --mandir=/usr/share/man \ |
pascal@14768 | 24 $CONFIGURE_ARGS && |
pascal@14768 | 25 make && |
pascal@14768 | 26 make DESTDIR=$DESTDIR install |
pascal@14768 | 27 } |
pascal@14768 | 28 |
pascal@14768 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14768 | 30 genpkg_rules() |
pascal@14768 | 31 { |
pascal@14768 | 32 mkdir -p $fs/usr/lib |
pascal@14768 | 33 cp -a $install/usr/sbin $fs/usr |
pascal@14768 | 34 cp -a $install/usr/bin $fs/usr |
pascal@14768 | 35 cp -a $install/usr/lib/proftpd $fs/usr/lib |
pascal@14768 | 36 cp -a $install/etc $fs |
pascal@14768 | 37 } |