wok annotate slock/receipt @ rev 21115
libaio: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 19 18:51:13 2019 +0100 (2019-03-19) |
parents | 3b4e4318134e |
children | 0601356024df |
rev | line source |
---|---|
mallory@1169 | 1 # SliTaz package receipt. |
mallory@1169 | 2 |
mallory@1169 | 3 PACKAGE="slock" |
erjo@14448 | 4 VERSION="1.1" |
mallory@1169 | 5 CATEGORY="security" |
mallory@1169 | 6 SHORT_DESC="Simple X display locker." |
mallory@1169 | 7 MAINTAINER="mallory@sweetpeople.org" |
pascal@15593 | 8 LICENSE="MIT" |
mallory@1169 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@11037 | 10 WEB_SITE="http://tools.suckless.org/slock" |
slaxemulator@11037 | 11 WGET_URL="http://dl.suckless.org/tools/$TARBALL" |
pankso@16259 | 12 HOST_ARCH="i486 arm" |
mallory@1169 | 13 |
pascal@15593 | 14 DEPENDS="xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext" |
pascal@15593 | 15 BUILD_DEPENDS="xorg-xproto xorg-xextproto xorg-libX11-dev xorg-libXext-dev" |
pascal@15593 | 16 |
mallory@1169 | 17 # Rules to configure and make the package. |
mallory@1169 | 18 compile_rules() |
mallory@1169 | 19 { |
mallory@1169 | 20 mv config.mk config.mk.original |
mallory@1169 | 21 sed -e 's/usr\/local/usr/' < config.mk.original > config.mk |
pankso@16259 | 22 make CC=$CC && |
slaxemulator@11037 | 23 make DESTDIR=$DESTDIR install |
mallory@1169 | 24 } |
mallory@1169 | 25 |
mallory@1169 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@1169 | 27 genpkg_rules() |
mallory@1169 | 28 { |
mallory@1169 | 29 mkdir -p $fs/usr |
pascal@15593 | 30 cp -a $install/usr/bin $fs/usr |
mallory@1169 | 31 } |
mallory@1169 | 32 |