My fork of airsonic with experimental fixes and improvements. See branch "custom"
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
4.7 KiB

9 years ago
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>libresonic-installer-debian</artifactId>
9 years ago
<packaging>pom</packaging>
<name>Libresonic Installer for Debian</name>
9 years ago
<parent>
<groupId>org.libresonic.player</groupId>
<artifactId>libresonic</artifactId>
<version>6.1</version>
9 years ago
</parent>
<profiles>
<profile>
<id>linux</id>
9 years ago
<activation>
<os>
<family>linux</family>
</os>
9 years ago
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>dpkg</id>
<phase>compile</phase>
<configuration>
<target>
<echo>Creating Debian package...</echo>
<copy todir="${project.build.directory}/deb">
<fileset dir="${basedir}/src"/>
<filterset>
<filter token="VERSION" value="${project.version}"/>
</filterset>
</copy>
<copy file="../libresonic-booter/src/main/script/libresonic.sh" todir="${project.build.directory}/deb/usr/share/libresonic"/>
<copy file="../libresonic-booter/target/libresonic-booter-jar-with-dependencies.jar" todir="${project.build.directory}/deb/usr/share/libresonic"/>
<copy file="../libresonic-main/target/libresonic.war" todir="${project.build.directory}/deb/usr/share/libresonic"/>
<copy file="../libresonic-transcode/linux/ffmpeg" todir="${project.build.directory}/deb/var/libresonic/transcode"/>
<copy file="../libresonic-transcode/linux/lame" todir="${project.build.directory}/deb/var/libresonic/transcode"/>
9 years ago
<exec executable="chmod">
<arg value="oug+x"/>
<arg value="${project.build.directory}/deb/DEBIAN/preinst"/>
<arg value="${project.build.directory}/deb/DEBIAN/postinst"/>
<arg value="${project.build.directory}/deb/DEBIAN/prerm"/>
<arg value="${project.build.directory}/deb/DEBIAN/postrm"/>
<arg value="${project.build.directory}/deb/usr/share/libresonic/libresonic.sh"/>
<arg value="${project.build.directory}/deb/etc/init.d/libresonic"/>
<arg value="${project.build.directory}/deb/var/libresonic/transcode/ffmpeg"/>
<arg value="${project.build.directory}/deb/var/libresonic/transcode/lame"/>
9 years ago
</exec>
<exec executable="sleep">
<arg value="2"/>
</exec>
<exec executable="fakeroot">
<arg value="dpkg"/>
<arg value="--build"/>
<arg value="${project.build.directory}/deb"/>
<arg value="${project.build.directory}/libresonic-${project.version}.deb"/>
9 years ago
</exec>
<exec executable="lintian">
<arg value="${project.build.directory}/libresonic-${project.version}.deb"/>
9 years ago
</exec>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>