wok-next view ldm/receipt @ rev 19412

Update SliTaz projects
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Sep 24 14:36:15 2016 +0300 (2016-09-24)
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 }