[packages] updated utils/collectd to 4.4.0
[openwrt/svn-archive/archive.git] / utils / reiserfsprogs / Makefile
1 #
2 # Copyright (C) 2006-2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=reiserfsprogs
12 PKG_VERSION:=3.6.19
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=ftp://ftp.namesys.com/pub/reiserfsprogs
17 PKG_MD5SUM:=b42cf15f6651c3ceff5cb84996c0d539
18
19 PKG_FIXUP = libtool
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/reiserfsprogs
24 SECTION:=utils
25 CATEGORY:=Utilities
26 TITLE:=ReiserFS filesystems utilities
27 URL:=http://www.namesys.com/
28 SUBMENU:=filesystem
29 endef
30
31 define Package/reiserfsprogs/description
32 This package contains utilities to create, check,
33 resize, and debug ReiserFS filesystems.
34 endef
35
36 define Build/Compile
37 $(MAKE) -C $(PKG_BUILD_DIR) \
38 DESTDIR="$(PKG_INSTALL_DIR)" \
39 all install
40 endef
41
42 define Package/reiserfsprogs/install
43 $(INSTALL_DIR) $(1)/usr/sbin
44 $(INSTALL_BIN) $(foreach bin,debugreiserfs mkreiserfs reiserfsck reiserfstune resize_reiserfs,$(PKG_INSTALL_DIR)/usr/sbin/$(bin)) $(1)/usr/sbin/
45 ln -sf mkreiserfs $(1)/usr/sbin/mkfs.reiserfs
46 ln -sf reiserfsck $(1)/usr/sbin/fsck.reiserfs
47 endef
48
49 $(eval $(call BuildPackage,reiserfsprogs))