]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - sysvinit/sysvinit.nm
Move all packages to root.
[ipfire-3.x.git] / sysvinit / sysvinit.nm
diff --git a/sysvinit/sysvinit.nm b/sysvinit/sysvinit.nm
new file mode 100644 (file)
index 0000000..31f82c2
--- /dev/null
@@ -0,0 +1,44 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = sysvinit
+version    = 2.86
+release    = 1
+
+groups     = System/Base
+url        = https://alioth.debian.org/projects/pkg-sysvinit/
+license    = GPLv2+
+summary    = Programs which control basic system processes.
+
+description
+       The sysvinit package contains a group of processes that control \
+       the very basic functions of your system.
+end
+
+sources    = %{thisapp}.tar.gz
+
+CFLAGS    += -D_GNU_SOURCE
+
+build
+       requires
+               libselinux-devel
+       end
+
+       make_build_targets += \
+               -C src CFLAGS="%{CFLAGS}" \
+               LDFLAGS="" \
+               LCRYPT="-lcrypt"
+
+       install
+               mkdir -pv %{BUILDROOT}/{bin,sbin,usr/{bin,include}}
+               mkdir -pv %{BUILDROOT}/usr/share/man/man{1,5,8}
+               make -C src install ROOT=%{BUILDROOT}
+       end
+end
+
+packages
+       package %{name}
+       end
+end