wok view ldm/receipt @ rev 19039

Webian Shell - again
author Leonardo Laporte <hackdorte@sapo.pt>
date Fri Apr 15 09:08:59 2016 -0300 (2016-04-15)
parents
children a78610b2eb47
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 }