wok-current annotate gadmin-sendmail/receipt @ rev 20272
Up usbip (3.16.55)
| author | Pascal Bellard <pascal.bellard@slitaz.org> |
|---|---|
| date | Sun Mar 18 16:42:58 2018 +0100 (2018-03-18) |
| parents | f0b3c2e08955 |
| children | 8dd8bab3f0ca |
| rev | line source |
|---|---|
| pascal@14767 | 1 # SliTaz package receipt. |
| pascal@14767 | 2 |
| pascal@14767 | 3 PACKAGE="gadmin-sendmail" |
| pascal@14767 | 4 VERSION="0.0.4" |
| pascal@14767 | 5 CATEGORY="x-window" |
| pascal@14771 | 6 SHORT_DESC="GTK+ configuration tool for sendmail." |
| pascal@14767 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
| pascal@14999 | 8 LICENSE="GPL3" |
| pascal@14767 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
| pascal@14767 | 10 WEB_SITE="http://dalalven.dtdns.net/linux/gadmintools-webpage/" |
| pascal@14767 | 11 WGET_URL="http://dalalven.dtdns.net/linux/$PACKAGE/$TARBALL" |
| pascal@14767 | 12 |
| pascal@14767 | 13 DEPENDS="gtk+ sendmail" |
| pascal@14767 | 14 BUILD_DEPENDS="gtk+-dev" |
| pascal@14767 | 15 |
| pascal@14767 | 16 |
| pascal@14767 | 17 # Rules to configure and make the package. |
| pascal@14767 | 18 compile_rules() |
| pascal@14767 | 19 { |
| pascal@14767 | 20 cd $src |
| pascal@14767 | 21 ./configure --prefix=/usr \ |
| pascal@14767 | 22 --sysconfdir=/etc \ |
| pascal@14767 | 23 --localstatedir=/var \ |
| pascal@14767 | 24 --mandir=/usr/share/man \ |
| pascal@14767 | 25 $CONFIGURE_ARGS && |
| pascal@14767 | 26 make && |
| pascal@14767 | 27 make DESTDIR=$DESTDIR install |
| pascal@14767 | 28 } |
| pascal@14767 | 29 |
| pascal@14767 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
| pascal@14767 | 31 genpkg_rules() |
| pascal@14767 | 32 { |
| pascal@14767 | 33 mkdir -p $fs/usr/share/applications |
| pascal@14767 | 34 cp -a $install/etc $fs |
| pascal@14767 | 35 cp -a $install/usr/sbin $fs/usr |
| pascal@14767 | 36 cp -a $install/usr/share/pixmaps $fs/usr/share |
| pascal@14767 | 37 cp -a $stuff/$PACKAGE.desktop $fs/usr/share/applications |
| pascal@14767 | 38 } |