wok-next view ldm/receipt @ rev 20588

e4rat: fix packing
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 14 15:12:31 2018 +0300 (2018-04-14)
parents
children 5c189fc65a98
line source
1 # SliTaz package receipt.
3 PACKAGE="ldm"
4 VERSION="0.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="l(ightweight) d(evice) m(ounter)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://github.com/LemonBoy/ldm"
11 WGET_URL="https://github.com/LemonBoy/ldm/tarball/v${VERSION}"
13 DEPENDS="udev"
14 BUILD_DEPENDS="udev-dev util-linux-mount-dev util-linux-blkid wget"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 make ldm.o &&
21 cc -o ldm ldm.o -ludev -lmount -lblkid &&
22 make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 }