wok-next annotate reptyr/receipt @ rev 18236
Up: tazpkg(819): re-write "desc" function
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jul 24 15:13:34 2015 +0300 (2015-07-24) |
parents | |
children | d5aab818505e |
rev | line source |
---|---|
pascal@16767 | 1 # SliTaz package receipt. |
pascal@16767 | 2 |
pascal@16767 | 3 PACKAGE="reptyr" |
pascal@16767 | 4 VERSION="0.5" |
pascal@16767 | 5 CATEGORY="system-tools" |
pascal@16767 | 6 SHORT_DESC="Reparent a running program to a new terminal" |
pascal@16767 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16767 | 8 LICENSE="MIT" |
pascal@16767 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@16767 | 10 WEB_SITE="https://github.com/nelhage/reptyr" |
pascal@16767 | 11 WGET_URL="$WEB_SITE/archive/$TARBALL" |
pascal@16767 | 12 |
pascal@16767 | 13 DEPENDS="" |
pascal@16767 | 14 BUILD_DEPENDS="wget" |
pascal@16767 | 15 |
pascal@16767 | 16 # Rules to configure and make the package. |
pascal@16767 | 17 compile_rules() |
pascal@16767 | 18 { |
pascal@16767 | 19 sed -i 's|/usr/local|/usr|' Makefile |
pascal@16767 | 20 make && |
pascal@16767 | 21 make DESTDIR=$DESTDIR install |
pascal@16767 | 22 } |
pascal@16767 | 23 |
pascal@16767 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16767 | 25 genpkg_rules() |
pascal@16767 | 26 { |
pascal@16767 | 27 mkdir -p $fs/usr |
pascal@16767 | 28 cp -a $install/usr/bin $fs/usr |
pascal@16767 | 29 } |
pascal@16767 | 30 |