wok-next view reptyr/receipt @ rev 20545

vmtouch: create $install/usr/bin path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 03 15:08:22 2018 +0200 (2018-04-03)
parents
children d5aab818505e
line source
1 # SliTaz package receipt.
3 PACKAGE="reptyr"
4 VERSION="0.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="Reparent a running program to a new terminal"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/nelhage/reptyr"
11 WGET_URL="$WEB_SITE/archive/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS="wget"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|/usr/local|/usr|' Makefile
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/bin $fs/usr
29 }